Registry / networking / tyrus-standalone-client

tyrus-standalone-client

JSON →
library2.2.2javamavenunverified

Tyrus is the reference implementation of the Java API for WebSocket (JSR 356) and provides a standalone client bundle for WebSocket communication.

<dependency> <groupId>org.glassfish.tyrus.bundles</groupId> <artifactId>tyrus-standalone-client</artifactId> <version>2.2.2</version> </dependency>
INSTALL
IMPORT
SIG · TYRUS-STANDALONE-C
T
tyrus-standalone-client
networkingjavav2.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ClientManager
org.glassfish.tyrus.client.ClientManager

Connects to a WebSocket server using Tyrus standalone client.

import org.glassfish.tyrus.client.ClientManager; import javax.websocket.Session; import javax.websocket.Endpoint; import javax.websocket.EndpointConfig; import java.net.URI; ClientManager client = ClientManager.createClient(); Session session = client.connectToServer(new Endpoint() { @Override public void onOpen(Session session, EndpointConfig config) { System.out.println("Connected"); } }, URI.create("ws://example.com/ws"));
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
tyrus-standalone-client — mvn dependency:get tyrus-standalone-client · libregistry