Skip to content

fcccode/http2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ HTTP/2

Self-implemented HTTP/2 based on winsock2 and IOCP.

Todo

  • IOCP Model

    • Accept
    • Recv
    • Send
    • Close
  • Server & Socket interface

    • Server start
    • Server close
    • Server onAccept
    • Server onClose
    • Socket onRecv
    • Socket onClose
    • Socket Write
    • Socket End
    • Socket Close
  • HTTP interface

    • HttpReq
      • HttpReq::headers, HttpReq::method, HttpReq::path
      • HttpReq::clientAddr, other client infos
      • HttpReq::OnData
      • HttpReq::OnEnd
    • HttpRes
      • Status
      • SetHeader
      • Write
  • Refactor

    • Make HttpReq, HttpRes and Scoket a class
      • HttpReq
      • HttpRes
      • Socket
    • privatefiy properties
      • HttpReq
      • HttpRes
      • Socket

About

Self-implemented HTTP/2 based on winsock2 and IOCP with C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%