[−][src]Function ironrdp::write_negotiation_request
pub fn write_negotiation_request(
buffer: impl Write,
cookie: &str,
protocol: SecurityProtocol,
flags: NegotiationRequestFlags
) -> Result<()>
Writes the negotiation request to the output buffer. The request is composed of a cookie string, a security protocol, and negotiation request flags.
Arguments
buffer
- the output buffercookie
- the cookie string sliceprotocol
- the security protocol of the messageflags
- the negotiation request flags