[RFC 7540] 5.4. Error Handling
| 269 | |
| 270 | // [RFC 7540] 5.4. Error Handling |
| 271 | struct Http2Error { |
| 272 | Http2Error(const Http2ErrorClass error_class = Http2ErrorClass::HTTP2_ERROR_CLASS_NONE, |
| 273 | const Http2ErrorCode error_code = Http2ErrorCode::HTTP2_ERROR_NO_ERROR, const char *err_msg = "") |
| 274 | { |
| 275 | cls = error_class; |
| 276 | code = error_code; |
| 277 | msg = err_msg; |
| 278 | }; |
| 279 | |
| 280 | Http2ErrorClass cls; |
| 281 | Http2ErrorCode code; |
| 282 | const char *msg; |
| 283 | }; |
| 284 | |
| 285 | // [RFC 7540] 6.5.1. SETTINGS Format |
| 286 | struct Http2SettingsParameter { |
no outgoing calls
no test coverage detected