Class Http
Fluent API for HTTP endpoints.
.To(Http.Post("api.example.com/users").ContentType("application/xml").Timeout(5000))
.To(Http.Get("api.example.com/data").BasicAuth("user", "pass"))
.From(Http.Listen("/webhook").Port(8080).Cors())
public static class Http
Inheritance
Methods
Delete(string)
HTTP DELETE request to the given URL path.
public static HttpBuilder Delete(string path)
Listen(string)
HTTP consumer — listens for incoming requests on the given route path.
public static HttpBuilder Listen(string path)