SessionWriteRequestToStream Method (Boolean, Boolean, Boolean, Stream) |
Write the session's Request to the specified stream
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public bool WriteRequestToStream(
bool bHeadersOnly,
bool bIncludeProtocolAndHostWithPath,
bool bEncodeIfBinary,
Stream oFS
)
Public Function WriteRequestToStream (
bHeadersOnly As Boolean,
bIncludeProtocolAndHostWithPath As Boolean,
bEncodeIfBinary As Boolean,
oFS As Stream
) As Boolean
public:
bool WriteRequestToStream(
bool bHeadersOnly,
bool bIncludeProtocolAndHostWithPath,
bool bEncodeIfBinary,
Stream^ oFS
)
Parameters
- bHeadersOnly
- Type: SystemBoolean
TRUE if only the headers should be be written - bIncludeProtocolAndHostWithPath
- Type: SystemBoolean
TRUE if the Scheme and Host should be written in the Request Line - bEncodeIfBinary
- Type: SystemBoolean
TRUE if binary bodies should be encoded in base64 for text-safe transport (e.g. used by Composer drag/drop) - oFS
- Type: System.IOStream
The Stream to which the request should be written
Return Value
Type:
BooleanTrue if the request was written to the stream. False if the request headers do not exist. Throws on other stream errors.
See Also