OperationRequestInfo interface

Metadata that is used to properly parse a response.

Properties

operationArguments

Used to encode the request.

operationResponseGetter

A function that returns the proper OperationResponseMap for the given OperationSpec and PipelineResponse combination. If this is undefined, then a simple status code lookup will be used.

operationSpec

Used to parse the response.

shouldDeserialize

Whether or not the PipelineResponse should be deserialized. Defaults to true.

Property Details

operationArguments

Used to encode the request.

operationArguments?: OperationArguments

Property Value

operationResponseGetter

A function that returns the proper OperationResponseMap for the given OperationSpec and PipelineResponse combination. If this is undefined, then a simple status code lookup will be used.

operationResponseGetter?: (operationSpec: OperationSpec, response: PipelineResponse) => undefined | OperationResponseMap

Property Value

(operationSpec: OperationSpec, response: PipelineResponse) => undefined | OperationResponseMap

operationSpec

Used to parse the response.

operationSpec?: OperationSpec

Property Value

shouldDeserialize

Whether or not the PipelineResponse should be deserialized. Defaults to true.

shouldDeserialize?: boolean | (response: PipelineResponse) => boolean

Property Value

boolean | (response: PipelineResponse) => boolean