Home > @cerbos/http > HTTP
A client for interacting with the Cerbos policy decision point server over HTTP.
Signature:
export declare class HTTP extends Client
Extends: Client
This is primarily intended for use in browsers, and requires fetch
to be available globally. If you're targeting old browsers, you'll need to apply a polyfill.
You can use it in server-side Node.js applications, but the gRPC client might be more appropriate.
See the parent class for available methods.
Constructor |
Modifiers |
Description |
---|---|---|
Create a client for interacting with the Cerbos policy decision point (PDP) server over HTTP. |