Package 

Interface Request

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public interface Request.Event

      Events representing the state of the HTTP request/response.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract BufferedSource body() Body data to send with request.
      abstract Response execute() Executes the request and returns a complete response.
      abstract Flow<Request.Event> start() Starts the HTTP request and returns a Flow of events.
      abstract Method getMethod() HTTP method for request.
      abstract URI getUri() Target URL for request.
      abstract Iterable<Pair<String, String>> getHeaders() Headers to send with request.
      • Methods inherited from class kotlin.Any

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait