- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for throttlePeriodNanos (0.08 sec)
-
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
this.inTunnel = builder.inTunnel this.informationalResponses = builder.informationalResponses.toList() this.throttleBytesPerPeriod = builder.throttleBytesPerPeriod this.throttlePeriodNanos = builder.throttlePeriodNanos this.socketPolicy = builder.socketPolicy this.bodyDelayNanos = builder.bodyDelayNanos this.headersDelayNanos = builder.headersDelayNanos this.pushPromises = builder.pushPromises.toList()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 13.3K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
expectedByteCount: Long, socket: Socket, ): Sink { var result: Sink = this if (policy.throttlePeriodNanos > 0L) { result = ThrottledSink( delegate = result, bytesPerPeriod = policy.throttleBytesPerPeriod, periodDelayNanos = policy.throttlePeriodNanos, ) } if (disconnectHalfway) { val halfwayByteCount = when {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0)