B4J Library B4j WebSocket Client

Hey everyone, This Wrapper is based on This Github
This Websocket Client is not based on jetty.

Available Events:
  • onOpen
  • onMessage (message As String)
  • onClose (Code As int, reason As String, remote as Boolean)
  • onError (err As String)
Availabel Methods:
  • Initialize()
  • Connect()
  • SendTextMessage()
  • SendBinary()
  • isConnected
  • Close
Have a great day everyone
Donate if you Find My Posts is useful.
 

Attachments

  • B4jWebSocketLibrary.zip
    124.3 KB · Views: 42

Magma

Expert
Licensed User
Longtime User
Hi there.... As i understand is a client for websocket... but the websocket server - if it is not jetty ? where is to check it - how it works ? :rolleyes:
and is it better as websocket server (Better than jserver-jetty) ?

Thanks for your work... and thanks for the answers too!
 

PassionDEV

Well-Known Member
Licensed User
Hi there.... As i understand is a client for websocket... but the websocket server - if it is not jetty ? where is to check it - how it works ? :rolleyes:
and is it better as websocket server (Better than jserver-jetty) ?

Thanks for your work... and thanks for the answers too!
This is just a websocket client for sure it can connect to any websocket server, when I mentioned its not based on jetty I meant you don't need jetty library to run this client. Unlike JWebsocketclient which is based on jserver3 since it depends on jetty websocket client library.
 
Last edited:
Top