- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for printnl (0.18 sec)
-
okhttp-tls/README.md
Call call = client.newCall(new Request.Builder() .url(server.url("/")) .build()); Response response = call.execute(); System.out.println(response.handshake().peerPrincipal()); RecordedRequest recordedRequest = server.takeRequest(); System.out.println(recordedRequest.getHandshake().peerPrincipal()); ``` This handshake is successful because each party has prearranged to trust the root certificate that
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 9.1K bytes - Viewed (1) -
okhttp-coroutines/README.md
OkHttp Coroutines ================= Support for Kotlin clients using coroutines. ```kotlin val call = client.newCall(request) call.executeAsync().use { response -> withContext(Dispatchers.IO) { println(response.body?.string()) } } ``` This is implemented using `suspendCancellableCoroutine` but uses the standard Dispatcher in OkHttp. This means that by default Kotlin's Dispatchers are not used.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Nov 09 15:47:27 GMT 2023 - 609 bytes - Viewed (0) -
docs/bucket/notifications/README.md
// Create server connection natsConnection, _ := nats.Connect("nats://yourusername:yoursecret@localhost:4222") log.Println("Connected") // Subscribe to subject log.Printf("Subscribing to subject 'bucketevents'\n") natsConnection.Subscribe("bucketevents", func(msg *nats.Msg) { // Handle the message log.Printf("Received message '%s\n", string(msg.Data)+"'") }) // Keep the connection alive runtime.Goexit() }
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 84K bytes - Viewed (2) -
docs/bucket/versioning/README.md
System.out.println("my-bucketname is created successfully"); } boolean isVersioningEnabled = minioClient.isVersioningEnabled( IsVersioningEnabledArgs.builder().bucket("my-bucketname").build()); if (isVersioningEnabled) { System.out.println("Bucket versioning is enabled"); } else { System.out.println("Bucket versioning is disabled"); }
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 04 21:43:52 GMT 2023 - 11.9K bytes - Viewed (1) -
README.md
supports both synchronous blocking calls and async calls with callbacks. Get a URL --------- This program downloads a URL and prints its contents as a string. [Full source][get_example]. ```java OkHttpClient client = new OkHttpClient(); String run(String url) throws IOException { Request request = new Request.Builder() .url(url)
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) -
internal/grid/README.md
Sample handler: ```go handler := func(ctx context.Context, payload []byte, in <-chan []byte, out chan<- []byte) *RemoteErr { fmt.Println("Got request with initial payload", p, "from", GetCaller(ctx context.Context)) fmt.Println("Subroute:", GetSubroute(ctx)) for { select { case <-ctx.Done(): return nil case req, ok := <-in:
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.4K bytes - Viewed (0) -
docs/sts/README.md
2018/12/26 17:49:36 listening on http://localhost:8888/ ``` This will open the login page of keycloak, upon successful login, STS credentials along with any buckets discovered using the credentials will be printed on the screen, for example: ``` { "buckets": [ "bucket-x" ], "credentials": { "AccessKeyID": "6N2BALX7ELO827DXS3GK", "SecretAccessKey": "23JKqAD+um8ObHqzfIh+bfqwG9V8qs9tFY6MqeFR+xxx",
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Oct 25 00:44:15 GMT 2022 - 7.8K bytes - Viewed (1) -
docs/erasure/storage-class/README.md
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Aug 15 23:04:20 GMT 2023 - 5.8K bytes - Viewed (1) -
docs/lambda/README.md
presignedURL, err := s3Client.PresignedGetObject(context.Background(), "functionbucket", "testobject", time.Duration(1000)*time.Second, reqParams) if err != nil { log.Fatalln(err) } fmt.Println(presignedURL) } ``` Use the Presigned URL via `curl` to receive the transformed object. ``` curl -v $(go run presigned.go) ... ...
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 04 19:15:28 GMT 2023 - 7.6K bytes - Viewed (0) -
docs/debugging/README.md
Example: ```sh minio server /data{1...4} ``` The command takes no flags ```sh mc support diagnostics myminio/ ``` The output printed will be of the form ```sh ● Admin Info ... ✔ ● CPU ... ✔ ● Disk Hardware ... ✔ ● Os Info ... ✔ ● Mem Info ... ✔ ● Process Info ... ✔ ● Config ... ✔ ● Drive ... ✔ ● Net ... ✔
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Feb 25 01:17:53 GMT 2022 - 8.7K bytes - Viewed (0)