- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 74 for WriteTo (0.19 sec)
-
src/main/java/jcifs/http/NtlmHttpURLConnection.java
@SuppressWarnings ( "resource" ) OutputStream output = this.connection.getOutputStream(); this.cachedOutput.writeTo(output); output.flush(); } response = parseResponseCode(); if ( response != HTTP_UNAUTHORIZED && response != HTTP_PROXY_AUTH ) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 25.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
policy = response, disconnectHalfway = response.socketPolicy == DisconnectDuringResponseBody, expectedByteCount = body.contentLength, socket = socket, ).buffer() body.writeTo(responseBodySink) responseBodySink.emit() if ("chunked".equals(response.headers["Transfer-Encoding"], ignoreCase = true)) { writeHeaders(sink, response.trailers) } }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 37.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
val encodedValue: String = formBody.encodedValue(0) val value: String = formBody.value(0) val contentType: MediaType = formBody.contentType() val contentLength: Long = formBody.contentLength() formBody.writeTo(Buffer()) val requestBody: RequestBody = formBody } @Test fun formBodyBuilder() { var builder: FormBody.Builder = FormBody.Builder() builder = FormBody.Builder(Charsets.UTF_8)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 46.5K bytes - Viewed (4) -
doc/go1.22.html
from a <code>TCPConn</code> to a <code>UnixConn</code>, it will now use Linux's <code>splice(2)</code> system call if possible, using the new method <a href="/pkg/net#TCPConn.WriteTo"><code>TCPConn.WriteTo</code></a>. </p> <p><!-- CL 467335 --> The Go DNS Resolver, used when building with "-tags=netgo", now searches for a matching name in the Windows hosts file,
HTML - Registered: Tue Feb 06 11:13:10 GMT 2024 - Last Modified: Wed Jan 31 20:51:56 GMT 2024 - 45.6K bytes - Viewed (0) -
api/go1.8.txt
pkg net/http, var ErrServerClosed error pkg net/http, var NoBody noBody pkg net/mail, func ParseDate(string) (time.Time, error) pkg net, method (*Buffers) Read([]uint8) (int, error) pkg net, method (*Buffers) WriteTo(io.Writer) (int64, error) pkg net, method (*Resolver) LookupAddr(context.Context, string) ([]string, error) pkg net, method (*Resolver) LookupCNAME(context.Context, string) (string, error)
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Dec 21 05:25:57 GMT 2016 - 16.3K bytes - Viewed (0) -
mockwebserver/api/mockwebserver3.api
} public final class mockwebserver3/MockResponse$Companion { } public abstract interface class mockwebserver3/MockResponseBody { public abstract fun getContentLength ()J public abstract fun writeTo (Lokio/BufferedSink;)V } public final class mockwebserver3/MockWebServer : java/io/Closeable { public static final field Companion Lmockwebserver3/MockWebServer$Companion; public fun <init> ()V public fun close ()V
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Tue Jan 03 21:59:45 GMT 2023 - 12.7K bytes - Viewed (0) -
internal/config/config.go
b.WriteString(ep.Value) b.WriteString(KvNewline) } } } // WriteTo writes the string representation of the configuration to the given // builder. When off is true, adds a comment character before the config system // output. It also ignores values when empty and deprecated. func (cs *SubsysInfo) WriteTo(b *strings.Builder, off bool) { cs.AddEnvString(b) if off { b.WriteString(KvComment)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Mar 02 05:11:03 GMT 2024 - 37.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
url = server.url("/foo"), body = object : RequestBody() { override fun contentType(): MediaType = "text/plain; charset=utf-8".toMediaType() override fun writeTo(sink: BufferedSink) { sink.write(postBytes) } }, ), ) val response = call.execute() assertThat(response.body.string()).isEqualTo("ABCDE")
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
docs/recipes.md
```kotlin private val client = OkHttpClient() fun run() { val requestBody = object : RequestBody() { override fun contentType() = MEDIA_TYPE_MARKDOWN override fun writeTo(sink: BufferedSink) { sink.writeUtf8("Numbers\n") sink.writeUtf8("-------\n") for (i in 2..997) { sink.writeUtf8(String.format(" * $i = ${factor(i)}\n")) }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Fri Feb 18 08:52:22 GMT 2022 - 40.2K bytes - Viewed (1) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
val builder = MockResponse.Builder().body("ABC") assertThat(headersToList(builder)).containsExactly("Content-Length: 3") val response = builder.build() val body = Buffer() response.body!!.writeTo(body) assertThat(body.readUtf8()).isEqualTo("ABC") } @Test fun mockResponseAddHeader() { val builder = MockResponse.Builder() .clearHeaders()
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 23.5K bytes - Viewed (0)