diff --git a/Sources/GRPCNIOTransportCore/Client/Connection/LoadBalancers/Subchannel.swift b/Sources/GRPCNIOTransportCore/Client/Connection/LoadBalancers/Subchannel.swift index 41387f6..727bd2f 100644 --- a/Sources/GRPCNIOTransportCore/Client/Connection/LoadBalancers/Subchannel.swift +++ b/Sources/GRPCNIOTransportCore/Client/Connection/LoadBalancers/Subchannel.swift @@ -380,6 +380,7 @@ extension Subchannel { } extension Subchannel { + /// ``` /// ┌───────────────┐ /// ┌───────▶│ NOT CONNECTED │───────────shutDown─────────────┐ /// │ └───────────────┘ │ @@ -404,6 +405,7 @@ extension Subchannel { /// │ ┌───────────────┐ │ ┌───────────────┐ │ /// └────────│ GOING AWAY │──────┘ │ SHUT DOWN │◀─┘ /// └───────────────┘ └───────────────┘ + /// ``` private enum State { /// Not connected and not actively connecting. case notConnected(NotConnected) diff --git a/Sources/GRPCNIOTransportCore/Server/Connection/ServerConnection.swift b/Sources/GRPCNIOTransportCore/Server/Connection/ServerConnection.swift index 3a96524..685a146 100644 --- a/Sources/GRPCNIOTransportCore/Server/Connection/ServerConnection.swift +++ b/Sources/GRPCNIOTransportCore/Server/Connection/ServerConnection.swift @@ -17,8 +17,8 @@ package import GRPCCore package import NIOCore -public enum ServerConnection { - public enum Stream { +package enum ServerConnection { + package enum Stream { package struct Outbound: ClosableRPCWriterProtocol { package typealias Element = RPCResponsePart diff --git a/Sources/GRPCNIOTransportHTTP2/Documentation.docc/Documentation.md b/Sources/GRPCNIOTransportHTTP2/Documentation.docc/Documentation.md index 8c7ec48..767a26a 100644 --- a/Sources/GRPCNIOTransportHTTP2/Documentation.docc/Documentation.md +++ b/Sources/GRPCNIOTransportHTTP2/Documentation.docc/Documentation.md @@ -18,3 +18,33 @@ This module, ``GRPCNIOTransportHTTP2``, re-exports the contents of both of these `GRPCNIOTransportHTTP2Posix` is available on all platforms, while `GRPCNIOTransportHTTP2TransportServices` is only available on Darwin based platforms. + +## Topics + +### Client and server transports + +- ``HTTP2ClientTransport`` +- ``HTTP2ServerTransport`` + +### Transport extensions + +- ``ListeningServerTransport`` + +### Name resolution + +- ``ResolvableTarget`` +- ``ResolvableTargets`` +- ``NameResolvers`` +- ``NameResolverRegistry`` +- ``NameResolverFactory`` +- ``NameResolver`` +- ``NameResolutionResult`` + +### Addresses + +- ``SocketAddress`` +- ``Endpoint`` + +### TLS + +- ``TLSConfig``