Boost.HTTP

    • HTTP Primer
    • Messages
    • Sans-I/O Philosophy
    • HTTP Protocol Basics
    • Message Bodies
    • Serializing
    • Parsing
    • Message
    • Server
      • Router
    • Design Requirements
      • Serializer
      • Parser
    • Reference
  • boost::http::is_route_result
arrow_upward

boost::http::is_route_result

Return true if rv is a route result.

Synopsis

Declared in <boost/http/server/router_types.hpp>

bool
is_route_result(route_result rv) noexcept;

Description

A route_result can hold any error code, and this function returns true only if rv holds a value from the route enumeration.

Return Value

true if rv is a route result.

Parameters

Name Description

rv

The result type returned by a route handler.

Created with MrDocs