- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for throttlePeriodNanos (0.1 seconds)
-
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
this.inTunnel = builder.inTunnel this.informationalResponses = builder.informationalResponses this.throttleBytesPerPeriod = builder.throttleBytesPerPeriod this.throttlePeriodNanos = builder.throttlePeriodNanos this.failHandshake = builder.failHandshake this.onRequestStart = builder.onRequestStart this.doNotReadRequestBody = builder.doNotReadRequestBody this.onRequestBody = builder.onRequestBodyCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 17.8K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
stream: Http2Stream? = null, ): Sink { var result: Sink = this if (policy.throttlePeriodNanos > 0L) { result = ThrottledSink( socket = socket, delegate = result, bytesPerPeriod = policy.throttleBytesPerPeriod, periodDelayNanos = policy.throttlePeriodNanos, ) } if (socketEffect != null) { val halfwayByteCount =Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 02 20:36:00 GMT 2025 - 40.3K bytes - Click Count (0)