C# Класс UnityTools.IO.UnityAgent

A REST API Client designed with ease of use in mind. Based on SuperAgent
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Connect ( string url ) : UnityAgentRequest

This specification reserves the method name CONNECT for use with a proxy that can dynamically switch to being a tunnel (e.g. SSL tunneling [44]).

Delete ( string url ) : UnityAgentRequest

The DELETE method requests that the origin server delete the resource identified by the Request-URI.

Get ( string url ) : UnityAgentRequest

The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.

Head ( string url ) : UnityAgentRequest

The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response.

Options ( string url ) : UnityAgentRequest

The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI.

Patch ( string url ) : UnityAgentRequest

The PATCH method is used to apply partial modifications to a resource.

Post ( string url ) : UnityAgentRequest

The actual function performed by the POST method is determined by the server and is usually dependent on the Request-URI.

Put ( string url ) : UnityAgentRequest

The PUT method requests that the enclosed entity be stored under the supplied Request-URI.

SingleConnect ( string url ) : UnityAgentRequest

This specification reserves the method name CONNECT for use with a proxy that can dynamically switch to being a tunnel (e.g. SSL tunneling [44]). This is the static version of the method that will not retain state between different actions.

SingleDelete ( string url ) : UnityAgentRequest

The DELETE method requests that the origin server delete the resource identified by the Request-URI. This is the static version of the method that will not retain state between different actions.

SingleGet ( string url ) : UnityAgentRequest

The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI. This is the static version of the method that will not retain state between different actions.

SingleHead ( string url ) : UnityAgentRequest

The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. This is the static version of the method that will not retain state between different actions.

SingleOptions ( string url ) : UnityAgentRequest

The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI. This is the static version of the method that will not retain state between different actions.

SinglePatch ( string url ) : UnityAgentRequest

The PATCH method is used to apply partial modifications to a resource.

SinglePost ( string url ) : UnityAgentRequest

The actual function performed by the POST method is determined by the server and is usually dependent on the Request-URI. This is the static version of the method that will not retain state between different actions.

SinglePut ( string url ) : UnityAgentRequest

The PUT method requests that the enclosed entity be stored under the supplied Request-URI. This is the static version of the method that will not retain state between different actions.

SingleTrace ( string url ) : UnityAgentRequest

The TRACE method is used to invoke a remote, application-layer loop-back of the request message. The final recipient of the request SHOULD reflect the message received back to the client as the entity-body of a 200 (OK) response. This is the static version of the method that will not retain state between different actions.

Trace ( string url ) : UnityAgentRequest

The TRACE method is used to invoke a remote, application-layer loop-back of the request message. The final recipient of the request SHOULD reflect the message received back to the client as the entity-body of a 200 (OK) response.

Защищенные методы

Метод Описание
CreateRequest ( string verb, string url ) : UnityAgentRequest

Описание методов

Connect() публичный Метод

This specification reserves the method name CONNECT for use with a proxy that can dynamically switch to being a tunnel (e.g. SSL tunneling [44]).
public Connect ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

CreateRequest() защищенный Метод

protected CreateRequest ( string verb, string url ) : UnityAgentRequest
verb string
url string
Результат UnityAgentRequest

Delete() публичный Метод

The DELETE method requests that the origin server delete the resource identified by the Request-URI.
public Delete ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

Get() публичный Метод

The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.
public Get ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

Head() публичный Метод

The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response.
public Head ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

Options() публичный Метод

The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI.
public Options ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

Patch() публичный Метод

The PATCH method is used to apply partial modifications to a resource.
public Patch ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

Post() публичный Метод

The actual function performed by the POST method is determined by the server and is usually dependent on the Request-URI.
public Post ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

Put() публичный Метод

The PUT method requests that the enclosed entity be stored under the supplied Request-URI.
public Put ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

SingleConnect() публичный статический Метод

This specification reserves the method name CONNECT for use with a proxy that can dynamically switch to being a tunnel (e.g. SSL tunneling [44]). This is the static version of the method that will not retain state between different actions.
public static SingleConnect ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

SingleDelete() публичный статический Метод

The DELETE method requests that the origin server delete the resource identified by the Request-URI. This is the static version of the method that will not retain state between different actions.
public static SingleDelete ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

SingleGet() публичный статический Метод

The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI. This is the static version of the method that will not retain state between different actions.
public static SingleGet ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

SingleHead() публичный статический Метод

The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. This is the static version of the method that will not retain state between different actions.
public static SingleHead ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

SingleOptions() публичный статический Метод

The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI. This is the static version of the method that will not retain state between different actions.
public static SingleOptions ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

SinglePatch() публичный статический Метод

The PATCH method is used to apply partial modifications to a resource.
public static SinglePatch ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

SinglePost() публичный статический Метод

The actual function performed by the POST method is determined by the server and is usually dependent on the Request-URI. This is the static version of the method that will not retain state between different actions.
public static SinglePost ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

SinglePut() публичный статический Метод

The PUT method requests that the enclosed entity be stored under the supplied Request-URI. This is the static version of the method that will not retain state between different actions.
public static SinglePut ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

SingleTrace() публичный статический Метод

The TRACE method is used to invoke a remote, application-layer loop-back of the request message. The final recipient of the request SHOULD reflect the message received back to the client as the entity-body of a 200 (OK) response. This is the static version of the method that will not retain state between different actions.
public static SingleTrace ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest

Trace() публичный Метод

The TRACE method is used to invoke a remote, application-layer loop-back of the request message. The final recipient of the request SHOULD reflect the message received back to the client as the entity-body of a 200 (OK) response.
public Trace ( string url ) : UnityAgentRequest
url string The request URL.
Результат UnityAgentRequest