We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The example tests werent working for websockets. setting the buffer size fixed this issue:
public WebsocketClientEndpoint(URI endpointURI, Bitvavo bitv) { try { bitvavo = bitv; WebSocketContainer container = ContainerProvider.getWebSocketContainer(); container.setDefaultMaxBinaryMessageBufferSize(1024*1024); container.setDefaultMaxTextMessageBufferSize(1024*1024); container.connectToServer(this, endpointURI); } catch (Exception e) { e.printStackTrace(); bitvavo.errorToConsole("Caught exception in instantiating websocket." + e); this.reconnectTimer = 100; retryConnecting(endpointURI); } }
java-bitvavo-api/src/main/java/com/bitvavo/api/WebsocketClientEndpoint.java
Line 65 in 471b5ae
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The example tests werent working for websockets.
setting the buffer size fixed this issue:
java-bitvavo-api/src/main/java/com/bitvavo/api/WebsocketClientEndpoint.java
Line 65 in 471b5ae
The text was updated successfully, but these errors were encountered: