Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readEmptyLine (0.18 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

                  val chunkSize = source.readUtf8LineStrict().trim().toInt(16)
                  if (chunkSize == 0) {
                    readEmptyLine(source)
                    break
                  }
                  chunkSizes.add(chunkSize)
                  requestBodySink.write(source, chunkSize.toLong())
                  readEmptyLine(source)
                }
              }
    
              else -> Unit // No request body.
            }
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top