C# Class UnityTools.IO.UnityAgent

A REST API Client designed with ease of use in mind. Based on SuperAgent
Afficher le fichier Open project: NoxHarmonium/unity-tools Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
CreateRequest ( string verb, string url ) : UnityAgentRequest

Method Details

Connect() public méthode

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.
Résultat UnityAgentRequest

CreateRequest() protected méthode

protected CreateRequest ( string verb, string url ) : UnityAgentRequest
verb string
url string
Résultat UnityAgentRequest

Delete() public méthode

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.
Résultat UnityAgentRequest

Get() public méthode

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.
Résultat UnityAgentRequest

Head() public méthode

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.
Résultat UnityAgentRequest

Options() public méthode

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.
Résultat UnityAgentRequest

Patch() public méthode

The PATCH method is used to apply partial modifications to a resource.
public Patch ( string url ) : UnityAgentRequest
url string The request URL.
Résultat UnityAgentRequest

Post() public méthode

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.
Résultat UnityAgentRequest

Put() public méthode

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.
Résultat UnityAgentRequest

SingleConnect() public static méthode

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.
Résultat UnityAgentRequest

SingleDelete() public static méthode

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.
Résultat UnityAgentRequest

SingleGet() public static méthode

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.
Résultat UnityAgentRequest

SingleHead() public static méthode

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.
Résultat UnityAgentRequest

SingleOptions() public static méthode

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.
Résultat UnityAgentRequest

SinglePatch() public static méthode

The PATCH method is used to apply partial modifications to a resource.
public static SinglePatch ( string url ) : UnityAgentRequest
url string The request URL.
Résultat UnityAgentRequest

SinglePost() public static méthode

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.
Résultat UnityAgentRequest

SinglePut() public static méthode

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.
Résultat UnityAgentRequest

SingleTrace() public static méthode

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.
Résultat UnityAgentRequest

Trace() public méthode

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.
Résultat UnityAgentRequest