HTTP Server

12402 단어 server
Examples
HTTP Server
This example illustrates the use of asio in a simple single-threaded server implementation of HTTP 1.0. It demonstrates how to perform a clean shutdown by cancelling all outstanding asynchronous operations.
  • ../src/examples/http/server/connection.cpp
  • ../src/examples/http/server/connection.hpp
  • ../src/examples/http/server/connection_manager.cpp
  • ../src/examples/http/server/connection_manager.hpp
  • ../src/examples/http/server/header.hpp
  • ../src/examples/http/server/main.cpp
  • ../src/examples/http/server/mime_types.cpp
  • ../src/examples/http/server/mime_types.hpp
  • ../src/examples/http/server/reply.cpp
  • ../src/examples/http/server/reply.hpp
  • ../src/examples/http/server/request.hpp
  • ../src/examples/http/server/request_handler.cpp
  • ../src/examples/http/server/request_handler.hpp
  • ../src/examples/http/server/request_parser.cpp
  • ../src/examples/http/server/request_parser.hpp
  • ../src/examples/http/server/server.cpp
  • ../src/examples/http/server/server.hpp

  • HTTP Server 2
    An HTTP server using an io_service-per-CPU design.
  • ../src/examples/http/server2/connection.cpp
  • ../src/examples/http/server2/connection.hpp
  • ../src/examples/http/server2/header.hpp
  • ../src/examples/http/server2/io_service_pool.cpp
  • ../src/examples/http/server2/io_service_pool.hpp
  • ../src/examples/http/server2/main.cpp
  • ../src/examples/http/server2/mime_types.cpp
  • ../src/examples/http/server2/mime_types.hpp
  • ../src/examples/http/server2/reply.cpp
  • ../src/examples/http/server2/reply.hpp
  • ../src/examples/http/server2/request.hpp
  • ../src/examples/http/server2/request_handler.cpp
  • ../src/examples/http/server2/request_handler.hpp
  • ../src/examples/http/server2/request_parser.cpp
  • ../src/examples/http/server2/request_parser.hpp
  • ../src/examples/http/server2/server.cpp
  • ../src/examples/http/server2/server.hpp

  • HTTP Server 3
    An HTTP server using a single io_service and a thread pool calling io_service::run() .
  • ../src/examples/http/server3/connection.cpp
  • ../src/examples/http/server3/connection.hpp
  • ../src/examples/http/server3/header.hpp
  • ../src/examples/http/server3/main.cpp
  • ../src/examples/http/server3/mime_types.cpp
  • ../src/examples/http/server3/mime_types.hpp
  • ../src/examples/http/server3/reply.cpp
  • ../src/examples/http/server3/reply.hpp
  • ../src/examples/http/server3/request.hpp
  • ../src/examples/http/server3/request_handler.cpp
  • ../src/examples/http/server3/request_handler.hpp
  • ../src/examples/http/server3/request_parser.cpp
  • ../src/examples/http/server3/request_parser.hpp
  • ../src/examples/http/server3/server.cpp
  • ../src/examples/http/server3/server.hpp

  • HTTP Server 4
    A single-threaded HTTP server implemented using stackless coroutines.
  • ../src/examples/http/server4/coroutine.hpp
  • ../src/examples/http/server4/file_handler.cpp
  • ../src/examples/http/server4/file_handler.hpp
  • ../src/examples/http/server4/header.hpp
  • ../src/examples/http/server4/main.cpp
  • ../src/examples/http/server4/mime_types.cpp
  • ../src/examples/http/server4/mime_types.hpp
  • ../src/examples/http/server4/reply.cpp
  • ../src/examples/http/server4/reply.hpp
  • ../src/examples/http/server4/request.hpp
  • ../src/examples/http/server4/request_parser.cpp
  • ../src/examples/http/server4/request_parser.hpp
  • ../src/examples/http/server4/server.cpp
  • ../src/examples/http/server4/server.hpp
  • ../src/examples/http/server4/unyield.hpp
  • ../src/examples/http/server4/yield.hpp
  • 좋은 웹페이지 즐겨찾기