Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IJSONRequestInterceptorOption

Options for JSON request interceptor factory.

Hierarchy

  • IJSONRequestInterceptorOption

Index

Properties

Optional headerAccept

headerAccept: undefined | string

Customize Accept header to append.

default

"application/json"

Optional headerContent

headerContent: undefined | string

Customize Content-Type header to use if the request body is plain object.

default

"application/json"

Optional method

method: HttpMethod[]

Whitelist HTTP method the request is made with that this interceptor will be applied to. Will be applied to all method if not specified.

Generated using TypeDoc