Class Listener

(Latest Version)

Base Type

  • public std::enable_shared_from_this< Listener >

class Listener : public std::enable_shared_from_this<Listener>

A class that listens for incoming HTTP requests.

Constructed by the HttpServer class and should not be used directly.

Public Functions

Listener(boost::asio::io_context &io_context, std::shared_ptr<morpheus::payload_parse_fn_t> payload_parse_fn, const std::string &bind_address, unsigned short port, const std::string &endpoint, boost::beast::http::verb method, std::size_t max_payload_size, std::chrono::seconds request_timeout)

~Listener() = default

void run()

void stop()

bool is_running() const

Previous Class LambdaLoader
Next Class LLMContext
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.