Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for OPTIONS (0.14 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

      ) {
        if (data.size != 0L) {
          lastId = id
          data.skip(1L) // Leading newline.
          callback.onEvent(id, type, data.readUtf8())
        }
      }
    
      companion object {
        val options =
          Options.of(
            // 0
            "\r\n".encodeUtf8(),
            // 1
            "\r".encodeUtf8(),
            // 2
            "\n".encodeUtf8(),
            // 3
            "data: ".encodeUtf8(),
            // 4
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

    import com.github.ajalt.clikt.core.CliktCommand
    import com.github.ajalt.clikt.parameters.arguments.argument
    import com.github.ajalt.clikt.parameters.options.default
    import com.github.ajalt.clikt.parameters.options.flag
    import com.github.ajalt.clikt.parameters.options.multiple
    import com.github.ajalt.clikt.parameters.options.option
    import com.github.ajalt.clikt.parameters.types.int
    import java.security.cert.X509Certificate
    import java.util.Properties
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

          }
        }
    
        return result
      }
    }
    
    private val optionsDelimiter =
      Options.of(
        // 0.
        ".".encodeUtf8(),
        // 1.
        " ".encodeUtf8(),
        // 2.
        ";".encodeUtf8(),
        // 3.
        "#".encodeUtf8(),
        // 4.
        "\n".encodeUtf8(),
      )
    
    private val optionsDot =
      Options.of(
        // 0.
        ".".encodeUtf8(),
      )
    
    private const val DELIMITER_DOT = 0
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. samples/tlssurvey/build.gradle.kts

      implementation(libs.squareup.moshi)
      implementation(libs.squareup.moshi.kotlin)
    
      ksp("com.squareup.moshi:moshi-kotlin-codegen:1.15.1")
    }
    
    tasks.compileJava {
      options.isWarnings = false
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 08 02:48:17 GMT 2024
    - 617 bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  6. samples/guide/build.gradle.kts

      implementation(libs.squareup.okio.fakefilesystem)
      kapt(libs.squareup.moshi.compiler)
    }
    
    java {
      toolchain {
        languageVersion.set(JavaLanguageVersion.of(17))
      }
    }
    
    tasks.compileJava {
      options.isWarnings = false
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Feb 21 19:52:48 GMT 2022
    - 531 bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

          @get:JvmName("headers") val headers: Headers,
          @get:JvmName("body") val body: BufferedSource,
        ) : Closeable by body
    
        internal companion object {
          /** These options follow the boundary. */
          val afterBoundaryOptions =
            Options.of(
              // 0.  "\r\n"  More parts.
              "\r\n".encodeUtf8(),
              // 1.  "--"    No more parts.
              "--".encodeUtf8(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt

     * and we can't rely on classnames after proguard, so are probably best served by falling through
     * to a situation of trying our least likely noisiest options.
     */
    class DeferredSocketAdapter(private val socketAdapterFactory: Factory) : SocketAdapter {
      private var delegate: SocketAdapter? = null
    
      override fun isSupported(): Boolean {
        return true
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

            add(ia.next())
          }
          if (ib.hasNext()) {
            add(ib.next())
          }
        }
      }
    }
    
    // TODO check read only options for creating lists
    public fun <T> List<T>.readOnly() = this.toList()
    
    // TODO check read only options for creating lists
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt

        fileSystem.source(path).buffer().use { source ->
          return source.readCodePointMappings()
        }
      }
    }
    
    private val optionsSemicolon =
      Options.of(
        // 0 is ';'.
        ";".encodeUtf8(),
      )
    
    private val optionsSemicolonOrNewlineOrDash =
      Options.of(
        // 0 is ';'.
        ";".encodeUtf8(),
        // 1 is '\n'.
        "\n".encodeUtf8(),
        // 2 is '-'.
        "-".encodeUtf8(),
      )
    
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top