Function aws_smithy_eventstream::smithy::parse_response_headers

source ยท
pub fn parse_response_headers(
    message: &Message,
) -> Result<ResponseHeaders<'_>, Error>
Expand description

Parse headers from Message

:content-type, :message-type, :event-type, and :exception-type headers will be parsed. If any headers are invalid or missing, an error will be returned.