INetworkManager

public protocol INetworkManager

Interface for managing network requests.

  • Initializes the network manager.

    Declaration

    Swift

    func initialize()
  • Sends a network request.

    Declaration

    Swift

    func send(request: IRequest) -> Promise<Response>

    Parameters

    request

    The request to send.

    Return Value

    A promise that will be resolved when the request is complete.