Skip to main content

Module endpoint

Module endpoint 

Source

Enums§

Addr
Addr defines a type for an address, either IP or domain.
Endpoint
Endpoint defines generic network endpoints for karyon.

Traits§

ToEndpoint

Functions§

resolve 🔒
Resolve an Addr + port to a SocketAddr. Domains are resolved through the system DNS with the given port.
url_to_addr 🔒

Type Aliases§

Port
Port defined as a u16.