C# Class Rest4Net.Protocols.CommonWebProtocol

Inheritance: BaseProtocol
Afficher le fichier Open project: acropolium/Rest4Net

Méthodes publiques

Méthode Description
Execute ( Command command ) : CommandResult

Méthodes protégées

Méthode Description
CommonWebProtocol ( string host, int port ) : System
RequestBeforeBodySend ( HttpWebRequest request ) : HttpWebRequest

Private Methods

Méthode Description
CreateRequest ( Uri uri, Command cmd ) : HttpWebRequest
CreateUri ( Command cmd ) : Uri
ParamsToUri ( Command cmd ) : string
ToResult ( HttpWebResponse response ) : CommandResult

Method Details

CommonWebProtocol() protected méthode

protected CommonWebProtocol ( string host, int port ) : System
host string
port int
Résultat System

Execute() public méthode

public Execute ( Command command ) : CommandResult
command Command
Résultat CommandResult

RequestBeforeBodySend() protected méthode

protected RequestBeforeBodySend ( HttpWebRequest request ) : HttpWebRequest
request System.Net.HttpWebRequest
Résultat System.Net.HttpWebRequest