- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 391 for companion (0.06 sec)
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
* limitations under the License. */ package okhttp3.dnsoverhttps import java.io.File import java.net.UnknownHostException import java.security.Security import okhttp3.Cache import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.dnsoverhttps.DohProviders.providers import org.conscrypt.OpenSSLProvider private fun runBatch( dnsProviders: List<DnsOverHttps>, names: List<String>, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt
// Handles both un-configured and none selected. null, "" -> null else -> protocol } } else { super.getSelectedProtocol(sslSocket) } companion object { val isSupported: Boolean = try { // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
) : EventListener.Factory { override fun create(call: Call): EventListener = LoggingEventListener(logger) } companion object
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 5.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
import okhttp3.CallEvent.SecureConnectStart import okhttp3.MediaType.Companion.toMediaType import okhttp3.RequestBody.Companion.toRequestBody import okhttp3.ResponseBody.Companion.toResponseBody import okhttp3.internal.DoubleInetAddressDns import okhttp3.internal.RecordingOkAuthenticator import okhttp3.internal.connection.RealConnectionPool.Companion.get import okhttp3.logging.HttpLoggingInterceptor import okhttp3.testing.Flaky
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
import okhttp3.internal.ws.WebSocketProtocol.validateCloseCode import okio.BufferedSink import okio.BufferedSource import okio.ByteString import okio.ByteString.Companion.encodeUtf8 import okio.ByteString.Companion.toByteString class RealWebSocket( taskRunner: TaskRunner, /** The application's original request unadulterated by web socket headers. */ private val originalRequest: Request,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 22.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt
assertFalse(adapter.matchesSocket(sslSocket)) adapter.configureTlsExtensions(sslSocket, null, listOf(HTTP_2, HTTP_1_1)) // not connected assertNull(adapter.getSelectedProtocol(sslSocket)) } companion object { @JvmStatic fun data(): Collection<SocketAdapter> { return listOfNotNull( DeferredSocketAdapter(ConscryptSocketAdapter.factory),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/FunctionalTest.kt
} class TeamCityParallelTests(val numberOfBatches: Int) : ParallelizationMethod() companion object { fun fromJson(jsonObject: JSONObject): ParallelizationMethod { val methodJsonObject = jsonObject.getJSONObject("parallelizationMethod") ?: return None
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Sep 25 06:14:43 UTC 2024 - 4.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt
SSLContext.getInstance("TLSv1.3") } catch (nsae: NoSuchAlgorithmException) { SSLContext.getInstance("TLS") } } } companion object { val isAvailable: Boolean val majorVersion = System.getProperty("java.specification.version")?.toIntOrNull() init { isAvailable = if (majorVersion != null) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2 import okhttp3.internal.format import okio.ByteString.Companion.encodeUtf8 object Http2 { @JvmField val CONNECTION_PREFACE = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n".encodeUtf8() /** The initial max frame size, applied independently writing to, or reading from the peer. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt
import assertk.assertions.isEqualTo import java.io.File import java.io.RandomAccessFile import java.util.Random import kotlin.test.assertFailsWith import okio.Buffer import okio.ByteString import okio.ByteString.Companion.encodeUtf8 import okio.buffer import okio.sink import okio.source import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.8K bytes - Viewed (0)