Method | Description | |
---|---|---|
CompareTo ( object obj ) : int |
Compares one request to another to determine if they are the same.
|
Method | Description | |
---|---|---|
Read ( |
||
RequestRecord ( ) : System |
Creates a new empty instance of RequestRecord class.
|
|
RequestRecord ( |
||
RequestRecord ( HttpRequest request ) : System |
If the IP address is IPv4 (4 bytes) then use the ip address as the high order bytes of the value and the hashcode as the low order bytes. If the IP address is IPv6 (8 bytes) then covert the bytes to a 64 bit integer. If anything else which we can't imagine use a hashcode of the string value.
|
|
RequestRecord ( |
Constructs a new instance of RequestRecord class. Copies the values of the RequestRecord provided to the new instance.
|
|
Write ( Stream stream ) : void |
Method | Description | |
---|---|---|
SetHashCode ( byte buffer, HttpRequest request ) : void |
Adds the hashcode of the relevent header fields as the low order bytes of the array.
|
public CompareTo ( object obj ) : int | ||
obj | object | The object being compared. |
return | int |
protected Read ( |
||
reader | ||
return | void |
protected RequestRecord ( |
||
reader | ||
return | System |
protected RequestRecord ( HttpRequest request ) : System | ||
request | HttpRequest | |
return | System |
protected RequestRecord ( |
||
recordToCopy | ||
return | System |