| 程序包 | 说明 |
|---|---|
| com.alipay.api.java_websocket.drafts | |
| com.alipay.api.java_websocket.protocols |
| 限定符和类型 | 方法和说明 |
|---|---|
IProtocol |
Draft_6455.getProtocol()
Getter for the protocol which is used by this draft
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<IProtocol> |
Draft_6455.getKnownProtocols()
Getter for all available protocols for this draft
|
| 构造器和说明 |
|---|
Draft_6455(List<IExtension> inputExtensions,
List<IProtocol> inputProtocols)
Constructor for the websocket protocol specified by RFC 6455 with custom extensions and protocols
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Protocol
Class which represents the protocol used as Sec-WebSocket-Protocol
|
| 限定符和类型 | 方法和说明 |
|---|---|
IProtocol |
Protocol.copyInstance() |
IProtocol |
IProtocol.copyInstance()
To prevent protocols to be used more than once the Websocket implementation should call this method in order to create a new usable
version of a given protocol instance.
|
Copyright © 2023. All rights reserved.