PreEncoded

public protocol PreEncoded

When present, Restivus will populate the body of the HTTPURLRequest with the data found in the data property of the Restable request. If a Restable conforms to both PreEncoded and Encodable, Restivus will ignore the Encodable

  • The data to put into the body of the HTTPURLRequest

    Declaration

    Swift

    var data: Data