public static class StandardMessage.Connect extends StandardMessage
StandardMessage.CloseConnection, StandardMessage.Connect, StandardMessage.Origin, StandardMessage.Ping, StandardMessage.Pong| Modifier and Type | Field and Description |
|---|---|
protected VirtualConnectionType |
connType
|
protected StandardMessage.Origin |
origin
The origin
|
protected String |
userAgent
The user-agent, if any
|
| Constructor and Description |
|---|
Connect(String userAgent,
VirtualConnectionType connectionType)
Creates a new instance using the specified parameters.
|
protected final String userAgent
protected final VirtualConnectionType connType
protected final StandardMessage.Origin origin
public Connect(@Nullable String userAgent, @Nullable VirtualConnectionType connectionType)
userAgent - the user-agent to use, if any.connectionType - the VirtualConnectionType to use.Copyright © 2022. All rights reserved.