Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for Moshi (0.04 sec)

  1. samples/guide/build.gradle.kts

      implementation(projects.okhttpTestingSupport)
      implementation(projects.okhttpTls)
      implementation(libs.animalsniffer.annotations)
      implementation(libs.squareup.moshi)
      implementation(libs.squareup.okio.fakefilesystem)
      kapt(libs.squareup.moshi.compiler)
    }
    
    java {
      toolchain {
        languageVersion.set(JavaLanguageVersion.of(17))
      }
    }
    
    tasks.compileJava {
      options.isWarnings = false
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Feb 21 19:52:48 UTC 2022
    - 531 bytes
    - Viewed (0)
  2. 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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. regression-test/build.gradle.kts

      androidTestImplementation(libs.androidx.junit)
      androidTestImplementation(libs.androidx.espresso.core)
      androidTestImplementation(libs.httpClient5)
      androidTestImplementation(libs.squareup.moshi)
      androidTestImplementation(libs.squareup.moshi.kotlin)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 14:46:51 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. 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.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. 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)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. samples/simple-client/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(libs.squareup.moshi)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 15 23:38:32 UTC 2022
    - 118 bytes
    - Viewed (0)
  7. samples/slack/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      implementation(projects.mockwebserver)
      implementation(libs.squareup.moshi)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 15 23:38:32 UTC 2022
    - 125 bytes
    - Viewed (0)
  8. 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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  9. 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() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. 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.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Jun 08 18:15:23 UTC 2022
    - 3.8K bytes
    - Viewed (0)
Back to top