HTTPRequestHeadersToString Method (Boolean, Boolean, Boolean) |
Returns a string representing the HTTP headers.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public string ToString(
bool prependVerbLine,
bool appendEmptyLine,
bool includeProtocolAndHostInPath
)
Public Function ToString (
prependVerbLine As Boolean,
appendEmptyLine As Boolean,
includeProtocolAndHostInPath As Boolean
) As String
public:
String^ ToString(
bool prependVerbLine,
bool appendEmptyLine,
bool includeProtocolAndHostInPath
)
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 CRLF sequence included - includeProtocolAndHostInPath
- Type: SystemBoolean
TRUE if the SCHEME and HOST should be included in the HTTP REQUEST LINE (Automatically set to FALSE for CONNECT requests)
Return Value
Type:
StringThe HTTP headers as a string.
See Also