AzureRelayConnectionConnectHeaders Property

A JSON object containing the HTTP headers that have been supplied by the sender to the Azure Relay service.

Syntax

ANSI (Cross Platform)
char* GetAzureRelayConnectionConnectHeaders(int iConnectionId);

Unicode (Windows)
LPWSTR GetAzureRelayConnectionConnectHeaders(INT iConnectionId);
- (NSString*)azureRelayConnectionConnectHeaders:(int)connectionId;
#define PID_AZURERELAYRECEIVER_AZURERELAYCONNECTIONCONNECTHEADERS 9

IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_AzureRelayReceiver_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_AzureRelayReceiver_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

A JSON object containing the HTTP headers that have been supplied by the sender to the Azure Relay service. For instance:


"connectHeaders": {
	"Sec-WebSocket-Key": "QocLBwK5J40Qp35L2duoBg==",
	"Sec-WebSocket-Version": "13",
	"Origin": "null",
	"Connection": "Upgrade",
	"Upgrade": "websocket",
	"Accept-Encoding": "gzip, deflate",
	"Host": "nstest.servicebus.windows.net",
	"User-Agent": "IPWorks HTTP Component - www.nsoftware.com"
}

The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the AzureRelayConnectionCount property.

This property is read-only and not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 C++ Edition - Version 20.0 [Build 8155]