Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for Hoshi (0.12 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

    import androidx.test.platform.app.InstrumentationRegistry
    import com.google.android.gms.common.GooglePlayServicesNotAvailableException
    import com.google.android.gms.security.ProviderInstaller
    import com.squareup.moshi.Moshi
    import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
    import java.io.IOException
    import java.net.InetAddress
    import java.net.UnknownHostException
    import java.security.KeyStore
    import java.security.SecureRandom
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  2. docs/works_with_okhttp.md

     * [GoogleAppEngineOkHttp](https://github.com/apkelly/GoogleAppEngineOkHttp): An OkHttp Call that works on Google App Engine.
     * [Hunter](https://github.com/Leaking/Hunter): Configure all OkHttpClients centrally.
     * ⬜️ [Moshi](https://github.com/square/moshi): A modern JSON library for Android and Java.
     * [Ok2Curl](https://github.com/mrmike/Ok2Curl): Convert OkHttp requests into curl logs.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Jun 08 18:15:23 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  3. samples/simple-client/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(libs.squareup.moshi)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 15 23:38:32 GMT 2022
    - 118 bytes
    - Viewed (0)
  4. android-test/build.gradle.kts

      androidTestImplementation(libs.httpClient5)
      androidTestImplementation(libs.kotlin.test.common)
      androidTestImplementation(libs.kotlin.test.junit)
      androidTestImplementation(libs.squareup.moshi)
      androidTestImplementation(libs.squareup.moshi.kotlin)
      androidTestImplementation(libs.squareup.okio.fakefilesystem)
    
      androidTestImplementation(libs.androidx.test.runner)
      androidTestImplementation(libs.junit.jupiter.api)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2.hpackjson
    
    /**
     * Representation of one story, a set of request headers to encode or decode. This class is used
     * reflectively with Moshi to parse stories from files.
     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  6. okhttp/build.gradle.kts

      testImplementation(projects.okhttpSse)
      testImplementation(projects.okhttpCoroutines)
      testImplementation(libs.kotlinx.coroutines.core)
      testImplementation(libs.squareup.moshi)
      testImplementation(libs.squareup.moshi.kotlin)
      testImplementation(libs.squareup.okio.fakefilesystem)
      testImplementation(libs.conscrypt.openjdk)
      testImplementation(libs.junit)
      testImplementation(libs.junit.jupiter.api)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/UserAgentCapabilities.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.survey.ssllabs
    
    import com.squareup.moshi.JsonClass
    
    @JsonClass(generateAdapter = true)
    class UserAgentCapabilities(
      val abortsOnUnrecognizedName: Boolean,
      val alpnProtocols: List<String>,
      val ellipticCurves: List<Int>,
      val handshakeFormat: String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  8. samples/slack/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      implementation(projects.mockwebserver)
      implementation(libs.squareup.moshi)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 15 23:38:32 GMT 2022
    - 125 bytes
    - Viewed (0)
  9. docs/recipes.md

        ```
    === ":material-language-java: Java"
        ```java
          private final OkHttpClient client = new OkHttpClient();
          private final Moshi moshi = new Moshi.Builder().build();
          private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class);
    
          public void run() throws Exception {
            Request request = new Request.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  10. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

    import okhttp3.internal.http2.Header
    import okio.ByteString
    
    /**
     * Representation of an individual case (set of headers and wire format). There are many cases for a
     * single story.  This class is used reflectively with Moshi to parse stories.
     */
    data class Case(
      val seqno: Int = 0,
      val wire: ByteString? = null,
      val headers: List<Map<String, String>>,
    ) : Cloneable {
      val headersList: List<Header>
        get() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top