C# Class Knetik.KnetikRequest

Mostrar archivo Open project: knetikmedia/UnitySDK Class Usage Examples

Public Properties

Property Type Description
EOL byte[]
LogAllRequests bool
VerboseLogging bool
acceptGzip bool
bytes byte[]
completedCallback Action
cookieJar Knetik.KnetikCookieJar
exception System.Exception
isDone bool
maximumRetryCount int
method string
protocol string
response Knetik.KnetikResponse
responseTime long
state KnetikRequestState
synchronous bool
uri System.Uri
useCache bool

Public Methods

Method Description
AddHeader ( string name, string value ) : void
GetHeader ( string name ) : string
GetHeaders ( ) : List
GetHeaders ( string name ) : List
InfoString ( bool verbose ) : string
KnetikRequest ( string method, string uri ) : System
KnetikRequest ( string method, string uri, WWWForm form ) : System
KnetikRequest ( string method, string uri, bool useCache ) : System
KnetikRequest ( string method, string uri, byte bytes ) : System
Send ( ) : void
Send ( Action callback ) : void
SetHeader ( string name, string value ) : void
ValidateServerCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool

Private Methods

Method Description
GetResponse ( ) : void
WriteToStream ( Stream outputStream ) : void

Method Details

AddHeader() public method

public AddHeader ( string name, string value ) : void
name string
value string
return void

GetHeader() public method

public GetHeader ( string name ) : string
name string
return string

GetHeaders() public method

public GetHeaders ( ) : List
return List

GetHeaders() public method

public GetHeaders ( string name ) : List
name string
return List

InfoString() public method

public InfoString ( bool verbose ) : string
verbose bool
return string

KnetikRequest() public method

public KnetikRequest ( string method, string uri ) : System
method string
uri string
return System

KnetikRequest() public method

public KnetikRequest ( string method, string uri, WWWForm form ) : System
method string
uri string
form UnityEngine.WWWForm
return System

KnetikRequest() public method

public KnetikRequest ( string method, string uri, bool useCache ) : System
method string
uri string
useCache bool
return System

KnetikRequest() public method

public KnetikRequest ( string method, string uri, byte bytes ) : System
method string
uri string
bytes byte
return System

Send() public method

public Send ( ) : void
return void

Send() public method

public Send ( Action callback ) : void
callback Action
return void

SetHeader() public method

public SetHeader ( string name, string value ) : void
name string
value string
return void

ValidateServerCertificate() public static method

public static ValidateServerCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
sender object
certificate System.Security.Cryptography.X509Certificates.X509Certificate
chain System.Security.Cryptography.X509Certificates.X509Chain
sslPolicyErrors SslPolicyErrors
return bool

Property Details

EOL public_oe static_oe property

public static byte[] EOL
return byte[]

LogAllRequests public_oe static_oe property

public static bool LogAllRequests
return bool

VerboseLogging public_oe static_oe property

public static bool VerboseLogging
return bool

acceptGzip public_oe property

public bool acceptGzip
return bool

bytes public_oe property

public byte[] bytes
return byte[]

completedCallback public_oe property

public Action completedCallback
return Action

cookieJar public_oe property

public KnetikCookieJar,Knetik cookieJar
return Knetik.KnetikCookieJar

exception public_oe property

public Exception,System exception
return System.Exception

isDone public_oe property

public bool isDone
return bool

maximumRetryCount public_oe property

public int maximumRetryCount
return int

method public_oe property

public string method
return string

protocol public_oe property

public string protocol
return string

response public_oe property

public KnetikResponse,Knetik response
return Knetik.KnetikResponse

responseTime public_oe property

public long responseTime
return long

state public_oe property

public KnetikRequestState state
return KnetikRequestState

synchronous public_oe property

public bool synchronous
return bool

uri public_oe property

public Uri,System uri
return System.Uri

useCache public_oe property

public bool useCache
return bool