webSocketConnectionSubProtocols (property)
The subprotocols (application-level protocols layered over the WebSocket Protocol) sent by the client in the initial WebSocket connection request.
Syntax
- (NSString*)webSocketConnectionSubProtocols:(int)connectionId;
public func webSocketConnectionSubProtocols(connectionId: Int32) throws -> String
Default Value
""
Remarks
The subprotocols (application-level protocols layered over the WebSocket Protocol) sent by the client in the initial WebSocket connection request.
The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the WebSocketConnectionCount property.
This property is read-only.