Skip to content

How to get client config timeout http_client_config::set_timeout() in Server side #1677

@laoshanxi

Description

@laoshanxi

Client could set http timeout, how to get this value in server side?

m_listener->support(methods::GET, std::bind(&RestHandler::handle_get, this, std::placeholders::_1));

in the function RestHandler::handle_get(...), is that possible to get the timeout seconds?

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions