Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Guide (0.12 sec)

  1. docs/features/events.md

    ![Events Diagram](../assets/images/******@****.***)
    
    Here’s a [sample event listener](https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java) that prints each event with a timestamp.
    
    ```java
    class PrintingEventListener extends EventListener {
      private long callStartNanos;
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  2. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

    private val prefix = if (File("samples").exists()) "" else "../../"
    
    private fun mainFiles(): List<File> {
      val directories =
        listOf(
          "$prefix/samples/guide/src/main/java/okhttp3/guide",
          "$prefix/samples/guide/src/main/java/okhttp3/recipes",
          "$prefix/samples/guide/src/main/java/okhttp3/recipes/kt",
        ).map { File(it) }
    
      return directories.flatMap {
        it.listFiles().orEmpty().filter { f -> f.isFile }.toList()
      }
    }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. README.md

     [changelog]: https://square.github.io/okhttp/changelog/
     [conscrypt]: https://github.com/google/conscrypt/
     [get_example]: https://raw.github.com/square/okhttp/master/samples/guide/src/main/java/okhttp3/guide/GetExample.java
     [kotlin]: https://kotlinlang.org/
     [okhttp3_pro]: https://raw.githubusercontent.com/square/okhttp/master/okhttp/src/main/resources/META-INF/proguard/okhttp3.pro
    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)
  4. samples/guide/src/main/java/okhttp3/guide/PostExample.java

     * 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 okhttp3.guide;
    
    import java.io.IOException;
    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public class PostExample {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. docs/contribute/code_of_conduct.md

    [Twitter][twitter_coc], [Ubuntu][ubuntu_coc], [GDC][gdc_coc], and [Django][django_coc] communities.
    We are thankful for their work.
    
    Reporting Guide
    ---------------
    
    If you experience or witness unacceptable behavior — or have any other concerns — please report it by
    emailing [******@****.***][codeofconduct_at]. All reports will be handled with
    discretion.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/guide/GetExample.java

     * 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 okhttp3.guide;
    
    import java.io.IOException;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public class GetExample {
      final OkHttpClient client = new OkHttpClient();
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. settings.gradle.kts

    include(":okhttp-logging-interceptor")
    include(":okhttp-sse")
    include(":okhttp-testing-support")
    include(":okhttp-tls")
    include(":okhttp-urlconnection")
    include(":samples:compare")
    include(":samples:crawler")
    include(":samples:guide")
    include(":samples:simple-client")
    include(":samples:slack")
    include(":samples:static-server")
    include(":samples:tlssurvey")
    include(":samples:unixdomainsockets")
    include(":container-tests")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/JSSETest.kt

        platform.assumeJdk9()
      }
    
      @Test
      fun testTlsv13Works() {
        // https://docs.oracle.com/en/java/javase/14/security/java-secure-socket-extension-jsse-reference-guide.html
        // TODO test jdk.tls.client.enableSessionTicketExtension
        // TODO check debugging information
    
        enableTls()
    
        server.enqueue(MockResponse(body = "abc"))
    
        val request = Request(server.url("/"))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top