Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 915 for CLIENT (0.17 sec)

  1. internal/rest/client.go

    func (n *NetworkError) Unwrap() error {
    	return n.Err
    }
    
    // Client - http based RPC client.
    type Client struct {
    	connected int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_         int32 // For 64 bits alignment
    	lastConn  int64
    
    	// HealthCheckFn is the function set to test for health.
    	// If not set the client will not keep track of health.
    	// Calling this returns true or false if the target
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/Client.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.survey.types
    
    data class Client(
      val userAgent: String,
      val version: String,
      val platform: String? = null,
      val enabled: List<SuiteId> = listOf(),
      val supported: List<SuiteId> = listOf(),
    ) {
      val nameAndVersion: String
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 883 bytes
    - Viewed (0)
  3. istioctl/pkg/xds/client.go

    Xiaopeng Han <******@****.***> 1703025762 +0800
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. cmd/peer-s3-client.go

    	return toStorageErr(err)
    }
    
    func (client remotePeerS3Client) GetHost() string {
    	return client.node.Host
    }
    
    func (client remotePeerS3Client) GetPools() []int {
    	return client.pools
    }
    
    func (client *remotePeerS3Client) SetPools(p []int) {
    	client.pools = make([]int, len(p))
    	copy(client.pools, p)
    }
    
    // newPeerS3Clients creates new peer clients.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. cmd/storage-rest-client.go

    func (client *storageRESTClient) String() string {
    	return client.endpoint.String()
    }
    
    // IsOnline - returns whether client failed to connect or not.
    func (client *storageRESTClient) IsOnline() bool {
    	return client.restClient.IsOnline() || client.IsOnlineWS()
    }
    
    // IsOnlineWS - returns whether websocket client failed to connect or not.
    func (client *storageRESTClient) IsOnlineWS() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. cmd/lock-rest-client.go

    	"context"
    	"errors"
    
    	"github.com/minio/minio/internal/dsync"
    	"github.com/minio/minio/internal/grid"
    )
    
    // lockRESTClient is authenticable lock REST client
    type lockRESTClient struct {
    	connection *grid.Connection
    }
    
    // IsOnline - returns whether REST client failed to connect or not.
    func (c *lockRESTClient) IsOnline() bool {
    	return c.connection.State() == grid.StateConnected
    }
    
    // Not a local locker
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. cmd/peer-rest-client.go

    }
    
    // Stringer provides a canonicalized representation of node.
    func (client *peerRESTClient) String() string {
    	return client.host.String()
    }
    
    // IsOnline returns true if the peer client is online.
    func (client *peerRESTClient) IsOnline() bool {
    	conn := client.gridConn()
    	if conn == nil {
    		return false
    	}
    	return client.restClient.IsOnline() || conn.State() == grid.StateConnected
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        assertThat(client.processNextFrame()).isFalse()
        client.listener.assertClosing(1000, "Goodbye!")
        client.webSocket!!.finishReader()
        server.listener.assertClosed(1000, "Hello!")
        client.listener.assertClosed(1000, "Goodbye!")
      }
    
      @Test
      fun clientCloseThenMethodsReturnFalse() {
        client.webSocket!!.close(1000, "Hello!")
        assertThat(client.webSocket!!.close(1000, "Hello!")).isFalse()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

            url = "smb1:/home/hoge";
            client = clientFactory.getClient(url);
            assertNotNull(client);
            assertTrue(client instanceof org.codelibs.fess.crawler.client.smb1.SmbClient);
    
            url = "ftp:/home/hoge";
            client = clientFactory.getClient(url);
            assertNotNull(client);
            assertTrue(client instanceof FtpClient);
    
            url = "storage:/home/hoge";
            client = clientFactory.getClient(url);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/DispatcherTest.kt

        client.newWebSocket(newRequest("http://a/2"), webSocketListener)
        client.newWebSocket(newRequest("http://a/3"), webSocketListener)
        executor.assertJobs("http://a/1", "http://a/2", "http://a/3")
      }
    
      @Test
      fun increasingMaxRequestsPromotesJobsImmediately() {
        dispatcher.maxRequests = 2
        client.newCall(newRequest("http://a/1")).enqueue(callback)
        client.newCall(newRequest("http://b/1")).enqueue(callback)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top