module LibItsHttp_MessageBodyTypes { // LibHttp import from LibItsHttp_XmlMessageBodyTypes all; import from LibItsHttp_JsonMessageBodyTypes all; import from LibItsHttp_BinaryMessageBodyTypes all; type charstring HtmlBody; type charstring TextBody; type union HttpMessageBody { BinaryBody binary_body, HtmlBody html_body, XmlBody xml_body, JsonBody json_body, TextBody text_body } with { variant "" } // End of type HttpMessageBody } with { encode "HttpCodec" }// End of module LibItsHttp_MessageBodyTypes