Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Structure

SocketAddress

An address a socket is bound to, or that a peer connected from.
struct SocketAddress

Overview

We defines its own address type to avoid exposing NIO or the HTTP Server in our API. This is a limited API for just what we need, it will probably be replaced by the new Networking Types library at some point in the future

Topics

Initializers

Instance Properties

Type Methods

Enumerations

  • enum Kind
    Which family an address belongs to.

Relationships

Conforms To

  • Swift.CustomStringConvertible
  • Swift.Equatable
  • Swift.Hashable
  • Swift.Sendable
  • Swift.SendableMetatype