Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for Recipes (0.03 sec)

  1. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

    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()
      }
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import java.io.File;
    import java.io.IOException;
    import okhttp3.MediaType;
    import okhttp3.MultipartBody;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class PostMultipart {
      /**
       * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 24 12:59:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.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.recipes;
    
    import com.squareup.moshi.JsonAdapter;
    import com.squareup.moshi.Moshi;
    import com.squareup.moshi.Types;
    import java.io.IOException;
    import java.util.LinkedHashMap;
    import java.util.Map;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

    package okhttp3.recipes;
    
    import java.util.concurrent.TimeUnit;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.WebSocket;
    import okhttp3.WebSocketListener;
    import okio.ByteString;
    
    public final class WebSocketEcho extends WebSocketListener {
      private void run() {
        OkHttpClient client = new OkHttpClient.Builder()
            .readTimeout(0,  TimeUnit.MILLISECONDS)
            .build();
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Apr 04 11:40:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.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 okhttp3.recipes.kt
    
    import java.io.IOException
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    
    class AsynchronousGet {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostFile.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.recipes;
    
    import java.io.File;
    import java.io.IOException;
    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.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 okhttp3.recipes.kt
    
    import java.io.IOException
    import java.net.HttpURLConnection.HTTP_MOVED_TEMP
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.mockwebserver.MockResponse
    import okhttp3.mockwebserver.MockWebServer
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/ParseResponseWithMoshi.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 okhttp3.recipes.kt
    
    import com.squareup.moshi.JsonClass
    import com.squareup.moshi.Moshi
    import java.io.IOException
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class ParseResponseWithMoshi {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.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.recipes;
    
    import java.io.IOException;
    import java.util.logging.Logger;
    import okhttp3.Interceptor;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  10. mkdocs.yml

        - 'Connections': features/connections.md
        - 'Events': features/events.md
        - 'HTTPS': features/https.md
        - 'Interceptors': features/interceptors.md
        - 'R8/Proguard': features/r8_proguard.md
      - 'Recipes': recipes.md
      - 'Security':
        - 'Security': security/security.md
        - 'Providers': security/security_providers.md
        - 'Configuration History': security/tls_configuration_history.md
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Nov 21 07:19:31 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top