network.protocols - Palamecia/mint GitHub Wiki
Module network.protocols
Description
This module groups protocol-specific helpers for layers 5 to 7 of the OSI model. Each protocol package is organized inside the Network package and usually provides three kinds of classes:
- A
Messageclass for constructing and manipulating protocol-specific messages. - A
Serializerclass implementing the network.serializers interface to convert message objects to and from a byte stream. - Client and server classes that expose the transport-level API used by the higher-level channel abstractions.
The client and server wrappers are split by execution model:
ClientandServerprovide event-based implementations intended for use with Network.Poller and the event-driven channel layer.AsyncClientandAsyncServerprovide coroutine-friendly implementations intended for use with Runtime.Scheduler and the async channel layer.
This makes it possible to use the same protocol abstraction from either an event-driven application or a coroutine-based application.
Packages
Classes
- Network.Ftp.Client
- Network.Http.AbstractRequestHandler
- Network.Http.AsyncClient
- Network.Http.AsyncRequestHandler
- Network.Http.AsyncSerializer
- Network.Http.AsyncServer
- Network.Http.AsyncStaticResolver
- Network.Http.Client
- Network.Http.ClientConfiguration
- Network.Http.Message
- Network.Http.RequestHandler
- Network.Http.Resolver
- Network.Http.Router
- Network.Http.Serializer
- Network.Http.Server
- Network.Http.ServerConfiguration
- Network.Http.StaticResolver
- Network.JsonRpc.AbstractRequestHandler
- Network.JsonRpc.AsyncClient
- Network.JsonRpc.AsyncRequestHandler
- Network.JsonRpc.AsyncSerializer
- Network.JsonRpc.AsyncServer
- Network.JsonRpc.Client
- Network.JsonRpc.ClientConfiguration
- Network.JsonRpc.Exception
- Network.JsonRpc.Message
- Network.JsonRpc.RequestHandler
- Network.JsonRpc.Serializer
- Network.JsonRpc.Server
- Network.JsonRpc.ServerConfiguration