Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.Http.SocksHelper Class Reference

Static Public Member Functions

static async ValueTask EstablishSocksTunnelAsync (Stream stream, string host, int port, Uri proxyUri, ICredentials proxyCredentials, bool async, CancellationToken cancellationToken)
 

Static Private Member Functions

static async ValueTask EstablishSocks5TunnelAsync (Stream stream, string host, int port, Uri proxyUri, NetworkCredential credentials, bool async)
 
static async ValueTask EstablishSocks4TunnelAsync (Stream stream, bool isVersion4a, string host, int port, Uri proxyUri, NetworkCredential credentials, bool async, CancellationToken cancellationToken)
 
static byte EncodeString (ReadOnlySpan< char > chars, Span< byte > buffer, string parameterName)
 
static void VerifyProtocolVersion (byte expected, byte version)
 
static ValueTask WriteAsync (Stream stream, Memory< byte > buffer, bool async)
 
static async ValueTask ReadToFillAsync (Stream stream, Memory< byte > buffer, bool async)
 

Detailed Description

Definition at line 11 of file SocksHelper.cs.


The documentation for this class was generated from the following file: