Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 785 Bytes

File metadata and controls

30 lines (18 loc) · 785 Bytes

NetworkLayer

The library for network communication.

Overview

The network-layer provides a simple interface for communication, making it very easy to send a request to a web server.

import NetworkLayer

let requestProcessor = NetworkLayerAssembly().assemble()
let user: User = try await requestProcessor.send(request)

The network-layer separates into two modules: NetworkLayer, which contains core functionality, and NetworkLayerInterfaces, which only contains public protocols for this framework.

The library supports authentication, retrying requests, and more.

License

network-layer is available under the MIT license. See the LICENSE file for more info.

Topics

Essentials

  • doc:GettingStarted
  • doc:Authentication
  • <doc:Retry