Метод | Описание | |
---|---|---|
DeleteFromService ( string url ) : string |
PUT JSON-encoded data to a web service that returns LLSD or JSON data
|
|
DeleteFromService ( string url ) : void |
DELETE JSON-encoded data to a web service
|
|
GetFromService ( string url ) : string |
GET JSON-encoded data to a web service that returns LLSD or JSON data
|
|
GetOSDMap ( string data, bool doLogMessages ) : OSDMap | ||
GetPreferredImageTypes ( string accept ) : string[] |
Takes the value of an Accept header and returns the preferred types ordered by q value (if it exists). Example input: image/jpg;q=0.7, image/png;q=0.8, image/jp2 Example output: ["jp2", "png", "jpg"] NOTE: This doesn't handle the semantics of *'s...
|
|
PostToService ( string url, byte data ) : byte[] | ||
PostToService ( string url, OSDMap data ) : string |
POST URL-encoded form data to a web service that returns LLSD or JSON data
|
|
PutToService ( string url, OSDMap data ) : string |
PUT JSON-encoded data to a web service that returns LLSD or JSON data
|
|
ServiceOSDRequest ( string url, byte buffer, string method, int timeout ) : Task |
||
ServiceOSDRequest ( string url, byte buffer, string method, int timeout ) : byte[] |
public static DeleteFromService ( string url ) : string | ||
url | string | |
Результат | string |
public static DeleteFromService ( string url ) : void | ||
url | string | |
Результат | void |
public static GetFromService ( string url ) : string | ||
url | string | |
Результат | string |
public static GetOSDMap ( string data, bool doLogMessages ) : OSDMap | ||
data | string | |
doLogMessages | bool | |
Результат | OSDMap |
public static GetPreferredImageTypes ( string accept ) : string[] | ||
accept | string | |
Результат | string[] |
public static PostToService ( string url, byte data ) : byte[] | ||
url | string | |
data | byte | |
Результат | byte[] |
public static PostToService ( string url, OSDMap data ) : string | ||
url | string | |
data | OSDMap | |
Результат | string |
public static PutToService ( string url, OSDMap data ) : string | ||
url | string | |
data | OSDMap | |
Результат | string |
public static ServiceOSDRequest ( string url, byte buffer, string method, int timeout ) : Task |
||
url | string | |
buffer | byte | |
method | string | |
timeout | int | |
Результат | Task |
public static ServiceOSDRequest ( string url, byte buffer, string method, int timeout ) : byte[] | ||
url | string | |
buffer | byte | |
method | string | |
timeout | int | |
Результат | byte[] |