Method | Description | |
---|---|---|
ChangeRequestURI ( string newURI ) : void |
Change the request URI; also change the 'Host' request header, when necessary If required, this function should be called from |
|
CompressResponse ( byte output ) : byte[] |
Compress a byte array based on the content encoding header
|
|
CreateProxy ( |
Static constructor
|
|
EncodeStringResponse ( string s, |
Get an encoded byte array for a given string
|
|
GetResponseMessageStream ( Stream inS ) : Stream |
Interpret a message with respect to its content encoding
|
|
GetResponseMessageStream ( byte msg ) : Stream |
Interpret a message with respect to its content encoding
|
|
ProxyLogic ( |
Instantiate a transparent proxy
|
Method | Description | |
---|---|---|
GetContent ( ) : byte[] |
If this method is called on a response, either the custom response pipeline or the 302 redirect MUST be used.
|
Method | Description | |
---|---|---|
GetChunkedContent ( ) : byte[] |
Download the chunked file and return the byte array
|
|
GetNonChunkedContent ( ) : byte[] |
Get a file with a known file size (i.e., not chunked).
|
public ChangeRequestURI ( string newURI ) : void | ||
newURI | string | |
return | void |
public CompressResponse ( byte output ) : byte[] | ||
output | byte | The content to be compressed |
return | byte[] |
public static CreateProxy ( |
||
socketBP | ||
return |
public EncodeStringResponse ( string s, |
||
s | string | |
encoding | ||
return | byte[] |
public GetResponseMessageStream ( Stream inS ) : Stream | ||
inS | Stream | |
return | Stream |
public GetResponseMessageStream ( byte msg ) : Stream | ||
msg | byte | |
return | Stream |
public ProxyLogic ( |
||
socketBP | Client browser-proxy socket | |
return | System |