Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 21 (0.11 sec)

  1. mockwebserver/README.md

                case "/v1/profile/info":
                    return new MockResponse().setResponseCode(200).setBody("{\\\"info\\\":{\\\"name\":\"Lucas Albuquerque\",\"age\":\"21\",\"gender\":\"male\"}}");
            }
            return new MockResponse().setResponseCode(404);
        }
    };
    server.setDispatcher(dispatcher);
    ```
    
    
    ### Download
    
    ```kotlin
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  2. README.md

        return response.body().string();
      }
    }
    ```
    
    Further examples are on the [OkHttp Recipes page][recipes].
    
    
    Requirements
    ------------
    
    OkHttp works on Android 5.0+ (API level 21+) and Java 8+.
    
    OkHttp depends on [Okio][okio] for high-performance I/O and the [Kotlin standard library][kotlin]. Both are small libraries with strong backward-compatibility.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
Back to top