/ fm / liveswitch / HttpResponseReceivedArgs
Class: HttpResponseReceivedArgs
fm.liveswitch.HttpResponseReceivedArgs
Arguments passed into callbacks when an HTTP response is received.
Table of contents
Constructors
Methods
Constructors
constructor
+ new HttpResponseReceivedArgs(): HttpResponseReceivedArgs
Returns: HttpResponseReceivedArgs
Defined in: Generated/TypeScript/fm.liveswitch/HttpResponseReceivedArgs.ts:17
Methods
getRequestArgs
▸ getRequestArgs(): HttpRequestArgs
Gets the original request arguments.
Returns: HttpRequestArgs
Defined in: Generated/TypeScript/fm.liveswitch/HttpResponseReceivedArgs.ts:35
getResponse
▸ getResponse(): any
Gets the incoming HTTP response received from the server.
Returns: any
Defined in: Generated/TypeScript/fm.liveswitch/HttpResponseReceivedArgs.ts:47
getSender
▸ getSender(): Object
Gets the sender of the request, either a client or publisher.
Returns: Object
Defined in: Generated/TypeScript/fm.liveswitch/HttpResponseReceivedArgs.ts:59
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/HttpResponseReceivedArgs.ts:9
setRequestArgs
▸ setRequestArgs(value
: HttpRequestArgs): void
Sets the original request arguments.
Parameters:
Name | Type |
---|---|
value |
HttpRequestArgs |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/HttpResponseReceivedArgs.ts:71
setResponse
▸ setResponse(value
: any): void
Sets the incoming HTTP response received from the server.
Parameters:
Name | Type |
---|---|
value |
any |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/HttpResponseReceivedArgs.ts:83
setSender
▸ setSender(value
: Object): void
Sets the sender of the request, either a client or publisher.
Parameters:
Name | Type |
---|---|
value |
Object |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/HttpResponseReceivedArgs.ts:95