Net
Summary
Methods
| Method |
Returns |
| GetHTTP(url: string) |
HttpResponse | nil |
| GetHTTP(url: string, options: HttpOptions) |
HttpResponse | nil |
| GetHTTPAsync(url: string, callback: callable) |
void |
| GetHTTPAsync(url: string, options: HttpOptions, callback: callable) |
void |
| GetHTTPAsync(url: string, context: any, callback: callable) |
void |
| GetHTTPAsync(url: string, options: HttpOptions, context: any, callback: callable) |
void |
| HeadHTTP(url: string) |
HttpResponse | nil |
| HeadHTTP(url: string, options: HttpOptions) |
HttpResponse | nil |
| HeadHTTPAsync(url: string, callback: callable) |
void |
| HeadHTTPAsync(url: string, options: HttpOptions, callback: callable) |
void |
| HeadHTTPAsync(url: string, context: any, callback: callable) |
void |
| HeadHTTPAsync(url: string, options: HttpOptions, context: any, callback: callable) |
void |
| PostHTTP(url: string, data: string) |
HttpResponse | nil |
| PostHTTP(url: string, data: string, options: HttpOptions) |
HttpResponse | nil |
| PostHTTPAsync(url: string, data: string, callback: callable) |
void |
| PostHTTPAsync(url: string, data: string, options: HttpOptions, callback: callable) |
void |
| PostHTTPAsync(url: string, data: string, context: any, callback: callable) |
void |
| PostHTTPAsync(url: string, data: string, options: HttpOptions, context: any, callback: callable) |
void |
| PutHTTP(url: string, data: string) |
HttpResponse | nil |
| PutHTTP(url: string, data: string, options: HttpOptions) |
HttpResponse | nil |
| PutHTTPAsync(url: string, data: string, callback: callable) |
void |
| PutHTTPAsync(url: string, data: string, options: HttpOptions, callback: callable) |
void |
| PutHTTPAsync(url: string, data: string, context: any, callback: callable) |
void |
| PutHTTPAsync(url: string, data: string, options: HttpOptions, context: any, callback: callable) |
void |
| DeleteHTTP(url: string) |
HttpResponse | nil |
| DeleteHTTP(url: string, data: string) |
HttpResponse | nil |
| DeleteHTTP(url: string, options: HttpOptions) |
HttpResponse | nil |
| DeleteHTTP(url: string, data: string, options: HttpOptions) |
HttpResponse | nil |
| DeleteHTTPAsync(url: string, callback: callable) |
void |
| DeleteHTTPAsync(url: string, data: string, callback: callable) |
void |
| DeleteHTTPAsync(url: string, options: HttpOptions, callback: callable) |
void |
| DeleteHTTPAsync(url: string, data: string, options: HttpOptions, callback: callable) |
void |
| DeleteHTTPAsync(url: string, context: any, callback: callable) |
void |
| DeleteHTTPAsync(url: string, data: string, context: any, callback: callable) |
void |
| DeleteHTTPAsync(url: string, options: HttpOptions, context: any, callback: callable) |
void |
| DeleteHTTPAsync(url: string, data: string, options: HttpOptions, context: any, callback: callable) |
void |
| OptionsHTTP(url: string) |
HttpResponse | nil |
| OptionsHTTP(url: string, options: HttpOptions) |
HttpResponse | nil |
| OptionsHTTPAsync(url: string, callback: callable) |
void |
| OptionsHTTPAsync(url: string, options: HttpOptions, callback: callable) |
void |
| OptionsHTTPAsync(url: string, context: any, callback: callable) |
void |
| OptionsHTTPAsync(url: string, options: HttpOptions, context: any, callback: callable) |
void |
| PatchHTTP(url: string, data: string) |
HttpResponse | nil |
| PatchHTTP(url: string, data: string, options: HttpOptions) |
HttpResponse | nil |
| PatchHTTPAsync(url: string, data: string, callback: callable) |
void |
| PatchHTTPAsync(url: string, data: string, options: HttpOptions, callback: callable) |
void |
| PatchHTTPAsync(url: string, data: string, context: any, callback: callable) |
void |
| PatchHTTPAsync(url: string, data: string, options: HttpOptions, context: any, callback: callable) |
void |
| Socket(family: NetSocketFamily, type: NetSocketType) |
NetSocket | nil |
Methods
GetHTTP
GetHTTP(url: string): HttpResponse | nil
Parameters
| Name |
Type |
Description |
| url |
string |
|
Returns
GetHTTP
GetHTTP(url: string, options: HttpOptions): HttpResponse | nil
Parameters
Returns
GetHTTPAsync
GetHTTPAsync(url: string, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
GetHTTPAsync
GetHTTPAsync(url: string, options: HttpOptions, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| options |
HttpOptions |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
GetHTTPAsync
GetHTTPAsync(url: string, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
GetHTTPAsync
GetHTTPAsync(url: string, options: HttpOptions, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| options |
HttpOptions |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
HeadHTTP
HeadHTTP(url: string): HttpResponse | nil
Parameters
| Name |
Type |
Description |
| url |
string |
|
Returns
HeadHTTP
HeadHTTP(url: string, options: HttpOptions): HttpResponse | nil
Parameters
Returns
HeadHTTPAsync
HeadHTTPAsync(url: string, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
HeadHTTPAsync
HeadHTTPAsync(url: string, options: HttpOptions, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| options |
HttpOptions |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
HeadHTTPAsync
HeadHTTPAsync(url: string, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
HeadHTTPAsync
HeadHTTPAsync(url: string, options: HttpOptions, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| options |
HttpOptions |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
PostHTTP
PostHTTP(url: string, data: string): HttpResponse | nil
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
Returns
PostHTTP
PostHTTP(url: string, data: string, options: HttpOptions): HttpResponse | nil
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| options |
HttpOptions |
|
Returns
PostHTTPAsync
PostHTTPAsync(url: string, data: string, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
PostHTTPAsync
PostHTTPAsync(url: string, data: string, options: HttpOptions, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| options |
HttpOptions |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
PostHTTPAsync
PostHTTPAsync(url: string, data: string, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
PostHTTPAsync
PostHTTPAsync(url: string, data: string, options: HttpOptions, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| options |
HttpOptions |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
PutHTTP
PutHTTP(url: string, data: string): HttpResponse | nil
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
Returns
PutHTTP
PutHTTP(url: string, data: string, options: HttpOptions): HttpResponse | nil
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| options |
HttpOptions |
|
Returns
PutHTTPAsync
PutHTTPAsync(url: string, data: string, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
PutHTTPAsync
PutHTTPAsync(url: string, data: string, options: HttpOptions, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| options |
HttpOptions |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
PutHTTPAsync
PutHTTPAsync(url: string, data: string, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
PutHTTPAsync
PutHTTPAsync(url: string, data: string, options: HttpOptions, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| options |
HttpOptions |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
DeleteHTTP
DeleteHTTP(url: string): HttpResponse | nil
Parameters
| Name |
Type |
Description |
| url |
string |
|
Returns
DeleteHTTP
DeleteHTTP(url: string, data: string): HttpResponse | nil
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
Returns
DeleteHTTP
DeleteHTTP(url: string, options: HttpOptions): HttpResponse | nil
Parameters
Returns
DeleteHTTP
DeleteHTTP(url: string, data: string, options: HttpOptions): HttpResponse | nil
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| options |
HttpOptions |
|
Returns
DeleteHTTPAsync
DeleteHTTPAsync(url: string, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
DeleteHTTPAsync
DeleteHTTPAsync(url: string, data: string, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
DeleteHTTPAsync
DeleteHTTPAsync(url: string, options: HttpOptions, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| options |
HttpOptions |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
DeleteHTTPAsync
DeleteHTTPAsync(url: string, data: string, options: HttpOptions, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| options |
HttpOptions |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
DeleteHTTPAsync
DeleteHTTPAsync(url: string, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
DeleteHTTPAsync
DeleteHTTPAsync(url: string, data: string, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
DeleteHTTPAsync
DeleteHTTPAsync(url: string, options: HttpOptions, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| options |
HttpOptions |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
DeleteHTTPAsync
DeleteHTTPAsync(url: string, data: string, options: HttpOptions, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| options |
HttpOptions |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
OptionsHTTP
OptionsHTTP(url: string): HttpResponse | nil
Parameters
| Name |
Type |
Description |
| url |
string |
|
Returns
OptionsHTTP
OptionsHTTP(url: string, options: HttpOptions): HttpResponse | nil
Parameters
Returns
OptionsHTTPAsync
OptionsHTTPAsync(url: string, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
OptionsHTTPAsync
OptionsHTTPAsync(url: string, options: HttpOptions, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| options |
HttpOptions |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
OptionsHTTPAsync
OptionsHTTPAsync(url: string, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
OptionsHTTPAsync
OptionsHTTPAsync(url: string, options: HttpOptions, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| options |
HttpOptions |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
PatchHTTP
PatchHTTP(url: string, data: string): HttpResponse | nil
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
Returns
PatchHTTP
PatchHTTP(url: string, data: string, options: HttpOptions): HttpResponse | nil
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| options |
HttpOptions |
|
Returns
PatchHTTPAsync
PatchHTTPAsync(url: string, data: string, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
PatchHTTPAsync
PatchHTTPAsync(url: string, data: string, options: HttpOptions, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| options |
HttpOptions |
|
| callback |
callable |
A callback in the form function(response: HttpResponse | nil): void. |
PatchHTTPAsync
PatchHTTPAsync(url: string, data: string, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
PatchHTTPAsync
PatchHTTPAsync(url: string, data: string, options: HttpOptions, context: any, callback: callable)
Parameters
| Name |
Type |
Description |
| url |
string |
|
| data |
string |
|
| options |
HttpOptions |
|
| context |
any |
|
| callback |
callable |
A callback in the form function(context: any, response: HttpResponse | nil): void. |
Socket
Socket(family: NetSocketFamily, type: NetSocketType): NetSocket | nil
Parameters
Returns
Last modified October 17, 2023:
Update docs for 20056 (ba5f066e)