Public Member Functions | |
EncodedHTTPResponse (HTTPResponse response) | |
EncodedHTTPResponse (HTTPResponse resp, byte[] originalCHk, CacheManager cacheManager) | |
EncodedHTTPResponse (byte[] src, int start, int length) | |
byte[] | Serialise () |
void | Deserialise (byte[] src, int start, int length) |
HTTPResponse | Decode (CacheManager cacheManager) |
Definition at line 134 of file HTTPResponse.cs.
|
<summary> Creates a new Encoded HTTP Response based on response, and no delta encoding </summary> <param name="req">The HTTP Response to encode</param> Definition at line 141 of file HTTPResponse.cs. |
|
<summary> Creates a new Encoded HTTP Response based on response, an original document and data from cache </summary> <param name="resp"></param> <param name="originalCHk"></param> <param name="cacheManager"></param> Definition at line 149 of file HTTPResponse.cs. References Common::CacheManager::Diff(), and Common::CacheManager::GetByChk(). |
|
<summary> Creates a new Encoded HTTP Request, with the specified encoded data. Processes from start until end of array </summary> <param name="src">A byte array containing encoded data</param> <param name="start">Index of start of EncodedHttpRequest in byte array</param> Definition at line 191 of file HTTPResponse.cs. |
|
<summary> Decodes into a HTTP response object, using information from the supplied cache manager. </summary> <param name="cacheManager">Cache manager to get baseline data from if need be.</param> <returns></returns> Definition at line 220 of file HTTPResponse.cs. References Common::CacheManager::GetByChk(), and Common::CacheManager::Patch(). |