Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 148 for mockwebserver (0.07 seconds)

  1. okhttp-logging-interceptor/build.gradle.kts

    )
    
    project.applyJavaModules("okhttp3.logging")
    
    dependencies {
      "friendsApi"(projects.okhttp)
    
      testImplementation(libs.junit)
      testImplementation(projects.mockwebserver3)
      testImplementation(projects.mockwebserver3Junit5)
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.okhttpTls)
      testImplementation(libs.assertk)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 633 bytes
    - Click Count (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/PushPromise.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3
    
    import okhttp3.Headers
    
    /** An HTTP request initiated by the server. */
    public class PushPromise(
      public val method: String,
      public val path: String,
      public val headers: Headers,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jun 14 16:09:26 GMT 2025
    - 849 bytes
    - Click Count (0)
  3. mockwebserver/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("okhttp.publish-conventions")
      id("okhttp.jvm-conventions")
      id("okhttp.quality-conventions")
      id("okhttp.testing-conventions")
    }
    
    project.applyJavaModules("mockwebserver3")
    
    dependencies {
      "friendsApi"(projects.okhttp)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.okhttpTls)
      testImplementation(projects.mockwebserver3Junit5)
      testImplementation(libs.junit)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 591 bytes
    - Click Count (0)
  4. okhttp-sse/build.gradle.kts

    )
    
    project.applyJavaModules("okhttp3.sse")
    
    dependencies {
      api(projects.okhttp)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.mockwebserver3)
      testImplementation(projects.mockwebserver3Junit5)
      testImplementation(libs.junit)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 536 bytes
    - Click Count (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    package mockwebserver3
    
    import java.io.IOException
    import okio.BufferedSink
    
    /**
     * The body of a [MockResponse].
     *
     * Unlike [okhttp3.ResponseBody], this interface is designed to be implemented by writers and not
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jun 14 16:09:26 GMT 2025
    - 1K bytes
    - Click Count (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    package mockwebserver3.internal
    
    import okio.Buffer
    import okio.Sink
    
    /**
     * A sink that executes [trigger] after [triggerByteCount] bytes are written, and then skips all
     * subsequent bytes.
     */
    internal class TriggerSink(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  7. okhttp-testing-support/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("okhttp.jvm-conventions")
      id("okhttp.quality-conventions")
      id("okhttp.testing-conventions")
    }
    
    dependencies {
      api(libs.square.okio)
      api(projects.mockwebserver3)
      "friendsApi"(projects.okhttp)
      api(projects.okhttpTls)
      api(libs.assertk)
      api(libs.bouncycastle.bcprov)
      implementation(libs.bouncycastle.bcpkix)
      implementation(libs.bouncycastle.bctls)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.3K bytes
    - Click Count (1)
  8. mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    package mockwebserver3.internal
    
    import okio.Buffer
    import okio.Sink
    
    /**
     * A sink that sleeps [periodDelayNanos] every [bytesPerPeriod] bytes. Unlike [okio.Throttler],
     * this permits any interval to be used.
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 12:43:16 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/SocketHandler.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3
    
    import okio.Socket
    
    /**
     * Handles a call's request and response streams directly. Use this instead of [MockResponseBody] to
     * begin sending response data before all request data has been received.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jun 14 16:09:26 GMT 2025
    - 940 bytes
    - Click Count (0)
  10. maven-tests/pom.xml

    <!--      <artifactId>okhttp</artifactId>-->
          <artifactId>okhttp-jvm</artifactId>
        </dependency>
    
        <dependency>
          <groupId>com.squareup.okhttp3</groupId>
          <artifactId>mockwebserver3</artifactId>
        </dependency>
    
        <dependency>
          <groupId>com.squareup.okhttp3</groupId>
          <artifactId>logging-interceptor</artifactId>
        </dependency>
      </dependencies>
    
      <reporting>
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 20:20:42 GMT 2026
    - 1.8K bytes
    - Click Count (0)
Back to Top