Function getListeners

Synopsis

#include <lib/inc/drogon/HttpAppFramework.h>

virtual std::vector< trantor::InetAddress > getListeners() const =0

Description

Get the addresses of listeners.

Returns
std::vector<trantor::InetAddress>
Note
This method should be called after calling the app().run(). One could run this method in an AOP join point (such as the BeginningAdvice).

Source

Line 1279 in lib/inc/drogon/HttpAppFramework.h.






Add Discussion as Guest

Log in