Class WebRequest

Index

Properties

Methods

Properties

public string: any

Methods

public add_completed(handler: (executor: Sys.Net.WebRequestExecutor, args: Sys.EventArgs) => void)

Parameters

  • handler: (executor: Sys.Net.WebRequestExecutor, args: Sys.EventArgs) => void

public completed(args: EventArgs)

Parameters

public getResolvedUrl(): any

Returns

any

public get_body(): string

Returns

string

public get_executor(): WebRequestExecutor

Returns

WebRequestExecutor

public get_headers(): { [key: string]: string; }

Returns

{ [key: string]: string; }

public get_httpVerb(): string

Returns

string

public get_timeout(): number

Returns

number

public get_url(): string

Returns

string

public get_userContext(): any

Returns

any

public invoke()

public remove_completed(handler: (executor: Sys.Net.WebRequestExecutor, args: Sys.EventArgs) => void)

Parameters

  • handler: (executor: Sys.Net.WebRequestExecutor, args: Sys.EventArgs) => void

public set_body(value: string)

Parameters

  • value: string

public set_executor(value: WebRequestExecutor)

Parameters

public set_httpVerb(value: string)

Parameters

  • value: string

public set_timeout(value: number)

Parameters

  • value: number

public set_url(value: string)

Parameters

  • value: string

public set_userContext(value: any)

Parameters

  • value: any