[−][src]Function ironrdp::parse_negotiation_response
pub fn parse_negotiation_response(
code: X224TPDUType,
stream: impl Read
) -> Result<(SecurityProtocol, NegotiationResponseFlags), NegotiationError>
Parses the negotiation response represented by the arguments and returns a tuple with a security protocol and negotiation response flags upon success.
Arguments
code
- the type of the X.224 messagestream
- the data type that contains the response