C# Class MtGoxTrader.Model.MtGoxSocketIOClient

Datei anzeigen Open project: iamapi/MtgoxTrader

Public Methods

Method Description
Close ( ) : void
Connect ( ) : void
MtGoxSocketIOClient ( Uri url ) : System
Recv ( ) : string
Send ( string str ) : void
SetHeaders ( string>.Dictionary headers ) : void

Private Methods

Method Description
CreateSocket ( Uri url ) : SslStream
ReadMessage ( SslStream sslStream ) : string
ValidateServerCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool

Method Details

Close() public method

public Close ( ) : void
return void

Connect() public method

public Connect ( ) : void
return void

MtGoxSocketIOClient() public method

public MtGoxSocketIOClient ( Uri url ) : System
url System.Uri
return System

Recv() public method

public Recv ( ) : string
return string

Send() public method

public Send ( string str ) : void
str string
return void

SetHeaders() public method

public SetHeaders ( string>.Dictionary headers ) : void
headers string>.Dictionary
return void