Vapor Documentation Beta

Protocol Client

public protocol Client

Requirements

event​Loop

var eventLoop: EventLoop

delegating(to:​)

func delegating(to eventLoop: EventLoop) -> Client

send(_:​)

func send(_ request: ClientRequest) -> EventLoopFuture<ClientResponse>