ResponseManager
Class ResponseManager
Hierarchy
ResponseManager
Index
Constructors
Properties
Methods
Constructors
constructor
new ResponseManager(config: ResponseConfigInterface): ResponseManager
Defined in Library/Response/ResponseManager.ts:9
Parameters:
| Name | Type |
|---|---|
| config | ResponseConfigInterface |
Returns: ResponseManager
Properties
Private config
config: ResponseConfigInterface
Defined in Library/Response/ResponseManager.ts:9
Methods
clientError
clientError(): ClientErrorResponse
Defined in Library/Response/ResponseManager.ts:27
Returns: ClientErrorResponse
informational
informational(): InformationalResponse
Defined in Library/Response/ResponseManager.ts:15
Returns: InformationalResponse
redirection
redirection(): RedirectionResponse
Defined in Library/Response/ResponseManager.ts:19
Returns: RedirectionResponse
serverError
serverError(): ServerErrorResponse
Defined in Library/Response/ResponseManager.ts:23
Returns: ServerErrorResponse
successful
successful(): SuccessfulResponse
Defined in Library/Response/ResponseManager.ts:31
Returns: SuccessfulResponse