Boost.HTTP.Proto

    • Sans-I/O Philosophy
    • HTTP Protocol Basics
    • Header Containers
    • Message Bodies
    • Serializing
    • Parsing
    • Message
    • Design Requirements
      • Serializer
      • Parser
    • Design Choices
    • Reference
  • boost::http_proto::string_to_method

boost::http_proto::string_to_method

Return the method enum corresponding to a string.

Synopsis

Declared in <boost/http_proto/method.hpp>

method
string_to_method(core::string_view s);

Description

If the string does not match a known request method, method::unknown is returned.

Created with MrDocs