WebSocketConnectionOrigin Property
The Origin header value of the connected client.
Syntax
ANSI (Cross Platform) char* GetWebSocketConnectionOrigin(int iConnectionId); Unicode (Windows) LPWSTR GetWebSocketConnectionOrigin(INT iConnectionId);
- (NSString*)webSocketConnectionOrigin:(int)connectionId;
#define PID_WEBSOCKETSERVER_WEBSOCKETCONNECTIONORIGIN 11 IPWORKSWS_EXTERNAL void* IPWORKSWS_CALL IPWorksWS_WebSocketServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSWS_EXTERNAL int IPWORKSWS_CALL IPWorksWS_WebSocketServer_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
The Origin header value of the connected client.
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 and not available at design time.
Data Type
String