/ fm / liveswitch / HttpRequestCreatedArgs
Class: HttpRequestCreatedArgs
fm.liveswitch.HttpRequestCreatedArgs
Arguments passed into callbacks when an HTTP request is created.
Table of contents
Constructors
Methods
Constructors
constructor
+ new HttpRequestCreatedArgs(): HttpRequestCreatedArgs
Returns: HttpRequestCreatedArgs
Defined in: Generated/TypeScript/fm.liveswitch/HttpRequestCreatedArgs.ts:17
Methods
getRequest
▸ getRequest(): any
Gets the outgoing HTTP request about to be sent to the server.
Returns: any
Defined in: Generated/TypeScript/fm.liveswitch/HttpRequestCreatedArgs.ts:35
getRequestArgs
▸ getRequestArgs(): HttpRequestArgs
Gets the original request arguments.
Returns: HttpRequestArgs
Defined in: Generated/TypeScript/fm.liveswitch/HttpRequestCreatedArgs.ts:47
getSender
▸ getSender(): Object
Gets the sender of the request, either a client or publisher.
Returns: Object
Defined in: Generated/TypeScript/fm.liveswitch/HttpRequestCreatedArgs.ts:59
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/HttpRequestCreatedArgs.ts:9
setRequest
▸ setRequest(value
: any): void
Sets the outgoing HTTP request about to be sent to the server.
Parameters:
Name | Type |
---|---|
value |
any |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/HttpRequestCreatedArgs.ts:71
setRequestArgs
▸ setRequestArgs(value
: HttpRequestArgs): void
Sets the original request arguments.
Parameters:
Name | Type |
---|---|
value |
HttpRequestArgs |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/HttpRequestCreatedArgs.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/HttpRequestCreatedArgs.ts:95