SubProtocols Property

Optional subprotocols supported by the client.

Syntax

ANSI (Cross Platform)
char* GetSubProtocols();
int SetSubProtocols(const char* lpszSubProtocols); Unicode (Windows) LPWSTR GetSubProtocols();
INT SetSubProtocols(LPCWSTR lpszSubProtocols);
@property (nonatomic,readwrite,assign,getter=subProtocols,setter=setSubProtocols:) NSString* subProtocols;
- (NSString*)subProtocols;
- (void)setSubProtocols:(NSString*)newSubProtocols;
#define PID_AZURERELAYSENDER_SUBPROTOCOLS 37

IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_AzureRelaySender_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_AzureRelaySender_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property is optional. Set this property to one or more comma separated subprotocols the client supports. These should be provided in order of preference. For instance: "chat, superchat".

The server will accept one subprotocol during the connection. After the connection is established this property will be updated by the class to reflect the value the server chose. Query this property to determine the negotiated subprotocol.

This property is 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]