Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rules (0.13 sec)

  1. README.md

    ```kotlin
    implementation("com.squareup.okhttp3:okhttp:4.12.0")
    ```
    
    Snapshot builds are [available][snap]. [R8 and ProGuard][r8_proguard] rules are available.
    
    Also, we have a [bill of materials (BOM)][bom] available to help you keep OkHttp artifacts up to date and be sure about version compatibility.
    
    ```kotlin
        dependencies {
    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)
  2. mockwebserver-junit4/README.md

    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance
    will be shut down automatically after the test runs.
    
    For Kotlin, the `@JvmField` annotation is also necessary:
    
    ```
    @JvmField @Rule val serverRule = MockWebServerRule()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 707 bytes
    - Viewed (1)
Back to top