Package com.couchbase.client.kotlin.manager.http

Types

CouchbaseHttpClient
Link copied to clipboard
@Stability.Volatile
class CouchbaseHttpClient

Specialized HTTP client for the Couchbase Server REST API. Get an instance by calling Cluster.httpClient.

CouchbaseHttpResponse
Link copied to clipboard
class CouchbaseHttpResponse
HttpBody
Link copied to clipboard
class HttpBody
HttpTarget
Link copied to clipboard
class HttpTarget

Determines which host and port an HTTP request is dispatched to. Use the factory methods in the companion object to create new instances.

NameValuePairs
Link copied to clipboard
class NameValuePairs

Represents a query string or form data.

Functions

formatPath
Link copied to clipboard
fun formatPath(template: String, vararg args: String): String

Replaces each {} placeholder in the template string with the URL-encoded form of the corresponding additional argument.

urlEncode
Link copied to clipboard
fun urlEncode(s: String): String