clayfish / rev.ai-sdk

Java/Kotlin JVM SDK for rev.ai API
Apache License 2.0
2 stars 0 forks source link

Replace spring-websocket #3

Open shuklaalok7 opened 4 years ago

shuklaalok7 commented 4 years ago

Need to replace Spring Framework spring-websocket as a dependency of the library, It can be replaced with Javax-Websocket. It is currently in-use by StreamingClient as the SessionHandler.

Essentially we need to replace

<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-websocket</artifactId>
    <version>5.2.5.RELEASE</version>
</dependency>

with

<dependency>
    <groupId>javax.websocket</groupId>
    <artifactId>javax.websocket-api</artifactId>
    <version>1.1</version>
</dependency>

<dependency>
    <groupId>org.java-websocket</groupId>
    <artifactId>Java-WebSocket</artifactId>
    <version>1.4.1</version>
</dependency>

Here are a couple of helpful resources,

shuklaalok7 commented 4 months ago

Test comment for linear integration.