Properties
Optional dataTransformer
dataTransformer: DataTransformer
Optional retryOptions
retryOptions: RetryOptions
Optional userAgent
userAgent: undefined | string
Optional webSocket
webSocket: WebSocketImpl
Optional webSocketConstructorOptions
webSocketConstructorOptions: any
Describes the options that can be provided while creating the EventHubClient.
dataTransformer
: A set ofencode
/decode
methods to be used to encode an event before sending to service and to decode the event received from the serviceuserAgent
: A string to append to the built in user agent string that is passed as a connection property to the service.websocket
: The WebSocket constructor used to create an AMQP connection if you choose to make the connection over a WebSocket.webSocketConstructorOptions
: Options to pass to the Websocket constructor when you choose to make the connection over a WebSocket.retryOptions
: The retry options for all the operations on the client/producer/consumer. A simple usage can be{ "maxRetries": 4 }
.Example usage:
{ retryOptions: { maxRetries: 4 } }
ClientOptions