C# Class Rest4Net.Ghost.GhostProtocol

Inheritance: Rest4Net.Protocols.HttpBaseProtocol
Show file Open project: acropolium/Rest4Net

Public Methods

Method Description
GhostProtocol ( string host, int port = -1, bool useHttps = false ) : System

Protected Methods

Method Description
RequestBeforeBodySend ( HttpWebRequest request ) : HttpWebRequest

Private Methods

Method Description
BuildVariables ( string urlPath, bool useHttps, string domain, int port ) : GhostProtocol
GetUrl ( string relative ) : string
PerformLogin ( ) : void

Method Details

GhostProtocol() public method

public GhostProtocol ( string host, int port = -1, bool useHttps = false ) : System
host string
port int
useHttps bool
return System

RequestBeforeBodySend() protected method

protected RequestBeforeBodySend ( HttpWebRequest request ) : HttpWebRequest
request System.Net.HttpWebRequest
return System.Net.HttpWebRequest