Property | Type | Description | |
---|---|---|---|
ClientTask | System.Threading.Tasks.Task | ||
MainSocket | Socket | ||
Sockets | Socket>>.List |
Method | Description | |
---|---|---|
GetFakeResponse ( byte bytes ) : byte[] | ||
GetFakeResponse ( string body ) : byte[] | ||
GetFakeResponseHeaders ( Stream s ) : byte[] | ||
SimpleProxy ( |
Method | Description | |
---|---|---|
ClientToServerTask ( int id ) : void | ||
Replace ( byte input, byte pattern, byte replacement ) : byte[] | ||
ServerToClientTask ( int id ) : void |
public static GetFakeResponse ( byte bytes ) : byte[] | ||
bytes | byte | |
return | byte[] |
public static GetFakeResponse ( string body ) : byte[] | ||
body | string | |
return | byte[] |
public static GetFakeResponseHeaders ( Stream s ) : byte[] | ||
s | Stream | |
return | byte[] |
public SimpleProxy ( |
||
local | ||
remote | string | |
remotePort | int | |
return | System |
public Task,System.Threading.Tasks ClientTask | ||
return | System.Threading.Tasks.Task |