Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ODataRequest<RequestConfigT>

OData request configuration for an entity type.

typeparam

Type of the entity to setup a request for

Type parameters

  • RequestConfigT: ODataRequestConfig

Hierarchy

  • ODataRequest

Index

Constructors

constructor

Properties

config

config: RequestConfigT

Configuration of the request

Accessors

destination

Methods

customHeaders

  • customHeaders(): Record<string, any>

defaultHeaders

  • defaultHeaders(): Record<string, any>

eTagHeaders

  • eTagHeaders(): Record<string, any>

execute

headers

  • headers(): Promise<Record<string, any>>
  • Create object containing all headers, including custom headers for the given request.

    Returns Promise<Record<string, any>>

    Key-value pairs where the key is the name of a header property and the value is the respective value

needsAuthentication

  • needsAuthentication(): boolean

query

  • query(): string

relativeResourceUrl

  • relativeResourceUrl(includeServicePath?: boolean): string

relativeServiceUrl

  • relativeServiceUrl(): string

relativeUrl

  • relativeUrl(includeServicePath?: boolean): string

resourceUrl

  • resourceUrl(): string

serviceUrl

  • serviceUrl(): string

url

  • url(): string