HttpActionResult class
Constructors
Section titled “Constructors”constructor
Section titled “constructor”⊕ new HttpActionResult(request: HttpRequest,promise: Promise
<T
>): HttpActionResult
Parameters:
Section titled “Parameters:”- request: HttpRequest
- promise:
Promise
<T
>
Public Methods
Section titled “Public Methods”▸ catch(onrejected?: (reason: any
) => TResult
| PromiseLike
<TResult
>): Promise
<T
| TResult
>
Parameters:
Section titled “Parameters:”- onrejected: (reason:
any
) =>TResult
|PromiseLike
<TResult
>, Optional
Returns Promise
<T
| TResult
>
finally
Section titled “finally”▸ finally(onfinally?: () => void
): Promise
<T
>
Parameters:
Section titled “Parameters:”- onfinally: () =>
void
, Optional
Returns Promise
<T
>
getPromise
Section titled “getPromise”▸ getPromise(): Promise
<T
>
Returns Promise
<T
>
getRequest
Section titled “getRequest”▸ getRequest(): HttpRequest
Returns HttpRequest
▸ then(onfulfilled?: (value: T
) => TResult1
| PromiseLike
<TResult1
>,onrejected?: (reason: any
) => TResult2
| PromiseLike
<TResult2
>): Promise
<TResult1
| TResult2
>
Parameters:
Section titled “Parameters:”- onfulfilled: (value:
T
) =>TResult1
|PromiseLike
<TResult1
>, Optional - onrejected: (reason:
any
) =>TResult2
|PromiseLike
<TResult2
>, Optional
Returns Promise
<TResult1
| TResult2
>