Class Https

Namespace: redb.Route.Http
Assembly: redb.Route.Http.dll

Fluent API for HTTPS endpoints.

.To(Https.Post("secure-api.com/submit").BasicAuth("user", "pass"))
.From(Https.Listen("/secure").Port(8443).SslCert("cert.pfx", "pass"))

public static class Https

Inheritance

Object→Https

Methods

Delete(string)

HTTPS DELETE request to the given URL path.

public static HttpBuilder Delete(string path)

Get(string)

HTTPS GET request to the given URL path.

public static HttpBuilder Get(string path)

Head(string)

HTTPS HEAD request to the given URL path.

public static HttpBuilder Head(string path)

Listen(string)

HTTPS consumer — listens for incoming requests on the given route path.

public static HttpBuilder Listen(string path)

Patch(string)

HTTPS PATCH request to the given URL path.

public static HttpBuilder Patch(string path)

Post(string)

HTTPS POST request to the given URL path.

public static HttpBuilder Post(string path)

Put(string)

HTTPS PUT request to the given URL path.

public static HttpBuilder Put(string path)