HTTPRequestHeadersToByteArray Method (Boolean, Boolean, Boolean, String) |
Returns a byte array representing the HTTP headers.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public byte[] ToByteArray(
bool prependVerbLine,
bool appendEmptyLine,
bool includeProtocolInPath,
string sVerbLineHost
)
Public Function ToByteArray (
prependVerbLine As Boolean,
appendEmptyLine As Boolean,
includeProtocolInPath As Boolean,
sVerbLineHost As String
) As Byte()
public:
array<unsigned char>^ ToByteArray(
bool prependVerbLine,
bool appendEmptyLine,
bool includeProtocolInPath,
String^ sVerbLineHost
)
Parameters
- prependVerbLine
- Type: SystemBoolean
TRUE if the HTTP REQUEST line (method+path+httpversion) should be included - appendEmptyLine
- Type: SystemBoolean
TRUE if there should be a trailing \r\n byte sequence included - includeProtocolInPath
- Type: SystemBoolean
TRUE if the SCHEME and HOST should be included in the HTTP REQUEST LINE - sVerbLineHost
- Type: SystemString
Return Value
Type:
ByteThe HTTP headers as a byte[]
See Also