C# 클래스 Rest4Net.Protocols.CommonWebProtocol

상속: BaseProtocol
파일 보기 프로젝트 열기: acropolium/Rest4Net

공개 메소드들

메소드 설명
Execute ( Command command ) : CommandResult

보호된 메소드들

메소드 설명
CommonWebProtocol ( string host, int port ) : System
RequestBeforeBodySend ( HttpWebRequest request ) : HttpWebRequest

비공개 메소드들

메소드 설명
CreateRequest ( Uri uri, Command cmd ) : HttpWebRequest
CreateUri ( Command cmd ) : Uri
ParamsToUri ( Command cmd ) : string
ToResult ( HttpWebResponse response ) : CommandResult

메소드 상세

CommonWebProtocol() 보호된 메소드

protected CommonWebProtocol ( string host, int port ) : System
host string
port int
리턴 System

Execute() 공개 메소드

public Execute ( Command command ) : CommandResult
command Command
리턴 CommandResult

RequestBeforeBodySend() 보호된 메소드

protected RequestBeforeBodySend ( HttpWebRequest request ) : HttpWebRequest
request System.Net.HttpWebRequest
리턴 System.Net.HttpWebRequest