Class WebRequestManager

Index

Methods

Methods

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

Parameters

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

public static add_invokingRequest(handler: (executor: Sys.Net.WebRequestExecutor, args: Sys.Net.NetworkRequestEventArgs) => void)

Parameters

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

public static executeRequest(request: WebRequest)

Parameters

public static get_defaultExecutorType(): string

Returns

string

public static get_defaultTimeout(): number

Returns

number

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

Parameters

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

public static remove_invokingRequest(handler: (executor: Sys.Net.WebRequestExecutor, args: Sys.Net.NetworkRequestEventArgs) => void)

Parameters

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

public static set_defaultExecutorType(value: string)

Parameters

  • value: string

public static set_defaultTimeout(value: number)

Parameters

  • value: number