Interface ApiWsOptions<RequestCommandsT, QueryT>

Type Parameters

  • RequestCommandsT extends AnyCommands
  • QueryT extends AnyQuery

Properties

requestValidationMode?: ValidationMode

Override the configured request validation mode.

setDefaultRequestValidationMode

responseValidationMode?: ValidationMode

Override the configured response validation mode.

Hard validation is always performed on responses statuses, regardless of this setting.

setDefaultResponseValidationMode