Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for utf8Size (0.03 sec)

  1. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

     * the License.
     */
    
    package okhttp3.dnsoverhttps
    
    import java.io.EOFException
    import java.net.InetAddress
    import java.net.UnknownHostException
    import okio.Buffer
    import okio.ByteString
    import okio.utf8Size
    
    /**
     * Trivial Dns Encoder/Decoder, basically ripped from Netty full implementation.
     */
    internal object DnsRecordCodec {
      private const val SERVFAIL = 2
      private const val NXDOMAIN = 3
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

    import java.util.Locale
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLSession
    import okhttp3.internal.canParseAsIpAddress
    import okhttp3.internal.toCanonicalHost
    import okio.utf8Size
    
    /**
     * A HostnameVerifier consistent with [RFC 2818][rfc_2818].
     *
     * [rfc_2818]: http://www.ietf.org/rfc/rfc2818.txt
     */
    @Suppress("NAME_SHADOWING")
    object OkHostnameVerifier : HostnameVerifier {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

    import java.util.concurrent.TimeUnit
    import mockwebserver3.SocketHandler
    import okhttp3.internal.connection.BufferedSocket
    import okhttp3.internal.connection.asBufferedSocket
    import okio.Socket
    import okio.utf8Size
    
    private typealias Action = (BufferedSocket) -> Unit
    
    /**
     * A scriptable request/response conversation. Create the script by calling methods like
     * [receiveRequest] in the sequence they are run.
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top