ConnectorClientOptions interface  
An interface representing ConnectorClientOptions.
- Extends
- 
			ServiceClientOptions 
Properties
| base | (Optional) baseUri will be set automatically within BotFrameworkAdapter, but is required if using the ConnectorClient outside of the adapter. | 
Inherited Properties
| agent | HTTP and HTTPS agents which will be used for every HTTP request (Node.js only). | 
| client | If specified, a GenerateRequestIdPolicy will be added to the HTTP pipeline that will add a header to all outgoing requests with this header name and a random UUID as the request ID. | 
| deserialization | The content-types that will be associated with JSON or XML serialization. | 
| generate | Whether or not to generate a client request ID header for each HTTP request. | 
| http | The HttpClient that will be used to send HTTP requests. | 
| http | The HttpPipelineLogger that can be used to debug RequestPolicies within the HTTP pipeline. | 
| no | If set to true, turn off the default retry policy. | 
| proxy | Proxy settings which will be used for every HTTP request (Node.js only). | 
| redirect | Options for how redirect responses are handled. | 
| request | An array of factories which get called to create the RequestPolicy pipeline used to send a HTTP request on the wire, or a function that takes in the defaultRequestPolicyFactories and returns the requestPolicyFactories that will be used. | 
| rp | Gets or sets the retry timeout in seconds for AutomaticRPRegistration. Default value is 30. | 
| user | The string to be set to the telemetry header while sending the request, or a function that takes in the default user-agent string and returns the user-agent string that will be used. | 
| user | The header name to use for the telemetry header while sending the request. If this is not specified, then "User-Agent" will be used when running on Node.js and "x-ms-command-name" will be used when running in a browser. | 
| with | Whether to include credentials in CORS requests in the browser. See https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials for more information. | 
Property Details
		baseUri
	 
	(Optional) baseUri will be set automatically within BotFrameworkAdapter, but is required if using the ConnectorClient outside of the adapter.
baseUri?: stringProperty Value
string
Inherited Property Details
		agentSettings
	 
	HTTP and HTTPS agents which will be used for every HTTP request (Node.js only).
agentSettings?: AgentSettingsProperty Value
AgentSettings
Inherited From ServiceClientOptions.agentSettings
		clientRequestIdHeaderName
	   
	If specified, a GenerateRequestIdPolicy will be added to the HTTP pipeline that will add a header to all outgoing requests with this header name and a random UUID as the request ID.
clientRequestIdHeaderName?: stringProperty Value
string
Inherited From ServiceClientOptions.clientRequestIdHeaderName
		deserializationContentTypes
	  
	The content-types that will be associated with JSON or XML serialization.
deserializationContentTypes?: DeserializationContentTypesProperty Value
DeserializationContentTypes
Inherited From ServiceClientOptions.deserializationContentTypes
		generateClientRequestIdHeader
	   
	Whether or not to generate a client request ID header for each HTTP request.
generateClientRequestIdHeader?: booleanProperty Value
boolean
Inherited From ServiceClientOptions.generateClientRequestIdHeader
		httpClient
	 
	The HttpClient that will be used to send HTTP requests.
httpClient?: HttpClientProperty Value
HttpClient
Inherited From ServiceClientOptions.httpClient
		httpPipelineLogger
	  
	The HttpPipelineLogger that can be used to debug RequestPolicies within the HTTP pipeline.
httpPipelineLogger?: HttpPipelineLoggerProperty Value
HttpPipelineLogger
Inherited From ServiceClientOptions.httpPipelineLogger
		noRetryPolicy
	  
	If set to true, turn off the default retry policy.
noRetryPolicy?: booleanProperty Value
boolean
Inherited From ServiceClientOptions.noRetryPolicy
		proxySettings
	 
	Proxy settings which will be used for every HTTP request (Node.js only).
proxySettings?: ProxySettingsProperty Value
ProxySettings
Inherited From ServiceClientOptions.proxySettings
		redirectOptions
	 
	Options for how redirect responses are handled.
redirectOptions?: RedirectOptionsProperty Value
RedirectOptions
Inherited From ServiceClientOptions.redirectOptions
		requestPolicyFactories
	  
	An array of factories which get called to create the RequestPolicy pipeline used to send a HTTP request on the wire, or a function that takes in the defaultRequestPolicyFactories and returns the requestPolicyFactories that will be used.
requestPolicyFactories?: RequestPolicyFactory[] | (defaultRequestPolicyFactories: RequestPolicyFactory[]) => void | RequestPolicyFactory[]Property Value
RequestPolicyFactory[] | (defaultRequestPolicyFactories: RequestPolicyFactory[]) => void | RequestPolicyFactory[]
Inherited From ServiceClientOptions.requestPolicyFactories
		rpRegistrationRetryTimeout
	   
	Gets or sets the retry timeout in seconds for AutomaticRPRegistration. Default value is 30.
rpRegistrationRetryTimeout?: numberProperty Value
number
Inherited From ServiceClientOptions.rpRegistrationRetryTimeout
		userAgent
	 
	The string to be set to the telemetry header while sending the request, or a function that takes in the default user-agent string and returns the user-agent string that will be used.
userAgent?: string | (defaultUserAgent: string) => stringProperty Value
string | (defaultUserAgent: string) => string
Inherited From ServiceClientOptions.userAgent
		userAgentHeaderName
	   
	The header name to use for the telemetry header while sending the request. If this is not specified, then "User-Agent" will be used when running on Node.js and "x-ms-command-name" will be used when running in a browser.
userAgentHeaderName?: string | (defaultUserAgentHeaderName: string) => stringProperty Value
string | (defaultUserAgentHeaderName: string) => string
Inherited From ServiceClientOptions.userAgentHeaderName
		withCredentials
	 
	Whether to include credentials in CORS requests in the browser. See https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials for more information.
withCredentials?: booleanProperty Value
boolean
Inherited From ServiceClientOptions.withCredentials