Index
Constructors
Public Properties
Public Methods
Protected Methods
Constructors
constructor
⊕ new HttpClient(): HttpClient
Public Properties
beforeEachRequest
● beforeEachRequest?: (request: HttpRequest) => void
customPayload
● customPayload: ``
defaultHeaders
● defaultHeaders: HttpHeaders
Public Methods
delete
▸ delete(url: string
,data?: any
,options?: HttpRequestOptions): HttpActionResult<T
>
Parameters:
- url:
string
- data:
any
, Optional - options: HttpRequestOptions, Optional
Returns HttpActionResult<T
>
get
▸ get(url: string
,options?: HttpRequestOptions): HttpActionResult<T
>
Parameters:
- url:
string
- options: HttpRequestOptions, Optional
Returns HttpActionResult<T
>
post
▸ post(url: string
,data: any
,options?: HttpRequestOptions): HttpActionResult<T
>
Parameters:
- url:
string
- data:
any
- options: HttpRequestOptions, Optional
Returns HttpActionResult<T
>
put
▸ put(url: string
,data: any
,options?: HttpRequestOptions): HttpActionResult<T
>
Parameters:
- url:
string
- data:
any
- options: HttpRequestOptions, Optional
Returns HttpActionResult<T
>
send
▸ send(method: HttpMethod,url: string
,data?: any
,options?: HttpRequestOptions): HttpActionResult<T
>
Parameters:
- method: HttpMethod
- url:
string
- data:
any
, Optional - options: HttpRequestOptions, Optional
Returns HttpActionResult<T
>
Protected Methods
getEqJsVersionHeader
▸ getEqJsVersionHeader(): any
Returns any