Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Scheme (0.47 sec)

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

          this.method = requestLine.substring(0, methodEnd)
          var path = requestLine.substring(methodEnd + 1, pathEnd)
          if (!path.startsWith("/")) {
            path = "/"
          }
          this.path = path
    
          val scheme = if (socket is SSLSocket) "https" else "http"
          val localPort = socket.localPort
          val hostAndPort =
            headers[":authority"]
              ?: headers["Host"]
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.8K bytes
    - Viewed (1)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

          var path = requestLine.substring(methodEnd + 1, pathEnd)
          if (!path.startsWith("/")) {
            path = "/"
          }
          this.path = path
    
          val scheme = if (socket is SSLSocket) "https" else "http"
          val inetAddress = socket.localAddress
    
          var hostname = inetAddress.hostName
          if (inetAddress is Inet6Address && hostname.contains(':')) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (2)
Back to top