mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
readme updated
This commit is contained in:
@@ -2,9 +2,8 @@
|
|||||||
```js
|
```js
|
||||||
var http = require("net");
|
var http = require("net");
|
||||||
|
|
||||||
// Universal request method. You can use HttpRequestOptions to set varios properties,
|
// Universal request method. You can use HttpRequestOptions to set varios properties like url, headers, etc.,
|
||||||
// HttpHeader to get/set desired headers, HttpResponse to get status code, headers
|
// HttpResponse to get status code, headers and content and HttpContent to get body of response:
|
||||||
// and content and HttpContent to get body of response:
|
|
||||||
|
|
||||||
interface HttpRequestOptions {
|
interface HttpRequestOptions {
|
||||||
url: string;
|
url: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user