- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for sendRequest (6.9 sec)
-
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliTestMain.kt
import okhttp3.Request fun main() { val client = OkHttpClient.Builder() .addInterceptor(BrotliInterceptor) .build() sendRequest("https://httpbin.org/brotli", client) sendRequest("https://httpbin.org/gzip", client) } private fun sendRequest( url: String, client: OkHttpClient, ) { val req = Request.Builder().url(url).build() client.newCall(req).execute().use {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.1K bytes - Viewed (3) -
okhttp/src/test/java/okhttp3/TestTls13Request.kt
) { try { for (url in urls) { sendRequest(client, url) } } finally { client.dispatcher.executorService.shutdownNow() client.connectionPool.evictAll() } } private fun buildClient(vararg specs: ConnectionSpec): OkHttpClient { return OkHttpClient.Builder() .connectionSpecs(listOf(*specs)) .build() } private fun sendRequest( client: OkHttpClient, url: String, ) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3K bytes - Viewed (0) -
api/go1.txt
pkg net/textproto, method (*Conn) Cmd(string, ...interface{}) (uint, error) pkg net/textproto, method (*Conn) DotReader() io.Reader pkg net/textproto, method (*Conn) DotWriter() io.WriteCloser pkg net/textproto, method (*Conn) EndRequest(uint) pkg net/textproto, method (*Conn) EndResponse(uint) pkg net/textproto, method (*Conn) Next() uint pkg net/textproto, method (*Conn) PrintfLine(string, ...interface{}) error
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1)