public interface WebSocketHandshake
Modifier and Type | Method and Description |
---|---|
Set<String> |
getRequestedProtocols()
The sub protocols requested by the client.
|
String |
getSelectedProtocol()
Gets the current selected sub protocol out of the requested sub
protocols.
|
boolean |
selectProtocol(String protocol)
Selects the first matching supported sub protocol out of the requested
sub protocols.
|
Set<String> getRequestedProtocols()
String getSelectedProtocol()
boolean selectProtocol(String protocol)
protocol
- Copyright © 2019 ninjaframework. All rights reserved.