Skip to content

[HTTP2] Implement http2_request structure #433

Description

@kcenon

Parent Issue

Closes #406

Summary

Implement the http2_request structure to represent incoming HTTP/2 requests.

Tasks

  • Create include/kcenon/network/protocols/http2/http2_request.h
  • Implement http2_request struct with method, path, authority, scheme, headers, body
  • Add helper methods (get_header, content_type, content_length)

Files to Create

  • include/kcenon/network/protocols/http2/http2_request.h

Acceptance Criteria

  • All pseudo-headers parsed correctly (:method, :path, :authority, :scheme)
  • Helper methods work correctly
  • Unit tests pass

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions