- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 103 for ByteString (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
companion object { private val WILDCARD_LABEL = ByteString.of('*'.code.toByte()) private val PREVAILING_RULE = listOf("*") private const val EXCEPTION_MARKER = '!' private var instance = PublicSuffixDatabase(PublicSuffixList.Default) fun get(): PublicSuffixDatabase = instance private fun ByteString.binarySearch( labels: Array<ByteString>, labelIndex: Int, ): String? {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 8.5K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
* limitations under the License. */ package mockwebserver3 import java.io.IOException import okhttp3.Handshake import okhttp3.Headers import okhttp3.HttpUrl import okio.ByteString /** An HTTP request that came into the mock web server. */ public class RecordedRequest( /** * The index of the socket connection that carried this request. If two recorded requests share a
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 3.2K bytes - Click Count (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt
* limitations under the License. */ package okhttp3.internal.http2 import java.io.IOException import okhttp3.internal.and import okio.BufferedSink import okio.BufferedSource import okio.ByteString /** * This class was originally composed from the following classes in * [Twitter Hpack][twitter_hpack]. * * * `com.twitter.hpack.HuffmanEncoder` * * `com.twitter.hpack.HuffmanDecoder`
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
* limitations under the License. */ package okhttp3.internal.idn import java.io.IOException import okio.Buffer import okio.BufferedSink import okio.BufferedSource import okio.ByteString import okio.ByteString.Companion.encodeUtf8 import okio.Options /** * A decoded [mapping table] that can perform the [mapping step] of IDNA processing. * * This implementation is optimized for readability over efficiency.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
import okhttp3.internal.http2.Http2.FLAG_PRIORITY import okhttp3.internal.http2.Http2.TYPE_GOAWAY import okio.Buffer import okio.BufferedSink import okio.BufferedSource import okio.ByteString import okio.ByteString.Companion.decodeHex import okio.ByteString.Companion.encodeUtf8 import okio.GzipSink import okio.buffer import org.junit.jupiter.api.Test class Http2Test { val frame = Buffer() val reader = Http2Reader(frame, false)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 28.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
import okhttp3.internal.http2.Http2.frameLog import okhttp3.internal.http2.Http2.frameLogWindowUpdate import okhttp3.internal.readMedium import okio.Buffer import okio.BufferedSource import okio.ByteString import okio.Source import okio.Timeout /** * Reads HTTP/2 transport frames. * * This implementation assumes we do not send an increased [frame][Settings.getMaxFrameSize] to the
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 19.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
import java.util.Random import kotlin.test.assertFailsWith import okhttp3.internal.format import okio.Buffer import okio.ByteString import okio.ByteString.Companion.EMPTY import okio.ByteString.Companion.decodeHex import okio.ByteString.Companion.encodeUtf8 import okio.ByteString.Companion.toByteString import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test class WebSocketReaderTest {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 14.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import okio.ByteString /** * A non-blocking interface to a web socket. Use the [factory][WebSocket.Factory] to create * instances; usually this is [OkHttpClient]. * * ## Web Socket Lifecycle *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:45:14 GMT 2026 - 6.1K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.tls.internal.der import java.math.BigInteger import java.net.ProtocolException import okio.ByteString /** * ASN.1 adapters adapted from the specifications in [RFC 5280][rfc_5280]. * * [rfc_5280]: https://tools.ietf.org/html/rfc5280 */ @Suppress("UNCHECKED_CAST") // This needs to cast decoded collections.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 13.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
import okhttp3.internal.okHttpName import okhttp3.internal.platform.Platform import okhttp3.internal.platform.Platform.Companion.INFO import okhttp3.internal.toHeaders import okio.Buffer import okio.BufferedSource import okio.ByteString /** * A socket connection to a remote peer. A connection hosts streams which can send and receive * data. * * Many methods in this API are **synchronous:** the call is completed before the method returns.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0)