Loading ttcn/Http/LibItsHttp_BinaryMessageBodyTypes.ttcn +1 −0 Original line number Original line Diff line number Diff line Loading @@ -26,6 +26,7 @@ module LibItsHttp_BinaryMessageBodyTypes { type union BinaryBody { type union BinaryBody { // TODO Add here your custom variants // TODO Add here your custom variants Ieee1609Dot2Data ieee1609dot2_data, Ieee1609Dot2Data ieee1609dot2_data, Certificate ieee1609dot2_certificate, octetstring raw octetstring raw } with { } with { variant "" variant "" Loading ttcn/Http/LibItsHttp_BinaryTemplates.ttcn +12 −0 Original line number Original line Diff line number Diff line Loading @@ -47,4 +47,16 @@ module LibItsHttp_BinaryTemplates { ieee1609dot2_data := p_ieee1609dot2_data ieee1609dot2_data := p_ieee1609dot2_data } // End of template mw_binary_body_ieee1609dot2_data } // End of template mw_binary_body_ieee1609dot2_data template (value) BinaryBody m_binary_body_ieee1609dot2_certificate( in template (value) CertificateBase p_ieee1609dot2_certificate ) := { ieee1609dot2_certificate := p_ieee1609dot2_certificate } // End of template m_binary_body_ieee1609dot2_certificate template (present) BinaryBody mw_binary_body_ieee1609dot2_certificate( template (present) CertificateBase p_ieee1609dot2_certificate := ? ) := { ieee1609dot2_certificate := p_ieee1609dot2_certificate } // End of template mw_binary_body_ieee1609dot2_certificate } // End of module LibItsHttp_BinaryTemplates } // End of module LibItsHttp_BinaryTemplates ttcn/Http/LibItsHttp_Templates.ttcn +7 −0 Original line number Original line Diff line number Diff line Loading @@ -257,6 +257,13 @@ module LibItsHttp_Templates { body := omit body := omit } // End of template m_http_response_ko_no_body } // End of template m_http_response_ko_no_body template (value) Response m_http_response_500_internal_error( in template (value) Headers p_header, in template (value) integer p_statuscode := 500, in template (value) charstring p_statustext := "Internal Error" ) modifies m_http_response_ko_no_body := { } // End of template m_http_response_ko template (present) Response mw_http_response_ko_no_body( template (present) Response mw_http_response_ko_no_body( template (present) Headers p_header := ?, template (present) Headers p_header := ?, template (present) integer p_statuscode := 404, template (present) integer p_statuscode := 404, Loading Loading
ttcn/Http/LibItsHttp_BinaryMessageBodyTypes.ttcn +1 −0 Original line number Original line Diff line number Diff line Loading @@ -26,6 +26,7 @@ module LibItsHttp_BinaryMessageBodyTypes { type union BinaryBody { type union BinaryBody { // TODO Add here your custom variants // TODO Add here your custom variants Ieee1609Dot2Data ieee1609dot2_data, Ieee1609Dot2Data ieee1609dot2_data, Certificate ieee1609dot2_certificate, octetstring raw octetstring raw } with { } with { variant "" variant "" Loading
ttcn/Http/LibItsHttp_BinaryTemplates.ttcn +12 −0 Original line number Original line Diff line number Diff line Loading @@ -47,4 +47,16 @@ module LibItsHttp_BinaryTemplates { ieee1609dot2_data := p_ieee1609dot2_data ieee1609dot2_data := p_ieee1609dot2_data } // End of template mw_binary_body_ieee1609dot2_data } // End of template mw_binary_body_ieee1609dot2_data template (value) BinaryBody m_binary_body_ieee1609dot2_certificate( in template (value) CertificateBase p_ieee1609dot2_certificate ) := { ieee1609dot2_certificate := p_ieee1609dot2_certificate } // End of template m_binary_body_ieee1609dot2_certificate template (present) BinaryBody mw_binary_body_ieee1609dot2_certificate( template (present) CertificateBase p_ieee1609dot2_certificate := ? ) := { ieee1609dot2_certificate := p_ieee1609dot2_certificate } // End of template mw_binary_body_ieee1609dot2_certificate } // End of module LibItsHttp_BinaryTemplates } // End of module LibItsHttp_BinaryTemplates
ttcn/Http/LibItsHttp_Templates.ttcn +7 −0 Original line number Original line Diff line number Diff line Loading @@ -257,6 +257,13 @@ module LibItsHttp_Templates { body := omit body := omit } // End of template m_http_response_ko_no_body } // End of template m_http_response_ko_no_body template (value) Response m_http_response_500_internal_error( in template (value) Headers p_header, in template (value) integer p_statuscode := 500, in template (value) charstring p_statustext := "Internal Error" ) modifies m_http_response_ko_no_body := { } // End of template m_http_response_ko template (present) Response mw_http_response_ko_no_body( template (present) Response mw_http_response_ko_no_body( template (present) Headers p_header := ?, template (present) Headers p_header := ?, template (present) integer p_statuscode := 404, template (present) integer p_statuscode := 404, Loading