Skip to content

artnaseef/example-async-http-websocket-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Execute Without Proxy

mvn exec:java -Dexec.mainClass=com.artnaseef.websocketclient.ExampleWebsocketClient -Dexec.arguments="useProxy=false,url=wss://localhost:8443/ws/agent,provider=grizzly"

Execute With Proxy (only Netty)

mvn exec:java -Dexec.mainClass=com.artnaseef.websocketclient.ExampleWebsocketClient -Dexec.arguments="useProxy=true,user=proxyUser,password=proxyPassword,proxyServer=localhost,proxyPort=8888,url=wss://localhost:8443/ws/agent,provider=netty"

Successful Handshake

2014-05-12 09:59:00,295 [AsyncHttpClient-Callback] INFO  com.artnaseef.websocketclient.ExampleWebsocketClient  - received response hello Mark; we are a little slow

About

Example websocket client using async-http-client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages