boost::corosio::native_resolver
An asynchronous DNS resolver with devirtualized operations.
Synopsis
template<auto Backend>
class native_resolver
: public resolver
Description
This class template inherits from resolver and shadows the resolve operations with versions that call the backend implementation directly, allowing the compiler to inline through the entire call chain.
Non‐async operations (cancel) remain unchanged and dispatch through the compiled library.
A native_resolver IS‐A resolver and can be passed to any function expecting resolver&.
Thread Safety
Same as resolver.
Types
Name |
Description |
RAII wrapper for I/O object implementation lifetime. |
|
Backend interface for DNS resolution operations. |
|
Service interface for I/O object lifecycle management. |
Member Functions
Name |
Description |
|
Constructors |
|
Assignment operators |
Cancel any pending asynchronous operations. |
|
Return the execution context. |
|
|
Protected Member Functions
Name |
Description |
|
Move assign from another I/O object. |
Protected Static Member Functions
Name |
Description |
Create a handle bound to a service found in the context. |
Template Parameters
Name |
Description |
Backend |
A backend tag value (e.g., |
See Also
resolver, epoll_t, iocp_t
Created with MrDocs