Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Hafner (0.17 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

    sealed interface SocketPolicy {
      /**
       * Shutdown [MockWebServer] after writing response.
       */
      object ShutdownServerAfterResponse : SocketPolicy
    
      /**
       * Keep the socket open after the response. This is the default HTTP/1.1 behavior.
       */
      object KeepOpen : SocketPolicy
    
      /**
       * Close the socket after the response. This is the default HTTP/1.0 behavior. For HTTP/2
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/SocketPolicy.kt

     * limitations under the License.
     */
    package okhttp3.mockwebserver
    
    enum class SocketPolicy {
      SHUTDOWN_SERVER_AFTER_RESPONSE,
      KEEP_OPEN,
      DISCONNECT_AT_END,
      UPGRADE_TO_SSL_AT_END,
      DISCONNECT_AT_START,
      DISCONNECT_AFTER_REQUEST,
      DISCONNECT_DURING_REQUEST_BODY,
      DISCONNECT_DURING_RESPONSE_BODY,
      DO_NOT_READ_REQUEST_BODY,
      FAIL_HANDSHAKE,
      SHUTDOWN_INPUT_AT_END,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1K bytes
    - Viewed (0)
Back to top