Skip to main content

HttpRule

Interfaces​

Type Aliases​

$Shape​

$Shape = object & { custom?: null; delete?: null; get?: null; patch?: null; pattern?: undefined; post?: null; put?: null; } | { custom?: null; delete?: null; get: string; patch?: null; pattern?: "get"; post?: null; put?: null; } | { custom?: null; delete?: null; get?: null; patch?: null; pattern?: "put"; post?: null; put: string; } | { custom?: null; delete?: null; get?: null; patch?: null; pattern?: "post"; post: string; put?: null; } | { custom?: null; delete: string; get?: null; patch?: null; pattern?: "delete"; post?: null; put?: null; } | { custom?: null; delete?: null; get?: null; patch: string; pattern?: "patch"; post?: null; put?: null; } | { custom: $Shape; delete?: null; get?: null; patch?: null; pattern?: "custom"; post?: null; put?: null; }

Narrowed shape of a HttpRule.

Type Declaration​

additionalBindings?​

optional additionalBindings?: $Shape[] | null

body?​

optional body?: string | null

custom?​

optional custom?: $Shape | null

delete?​

optional delete?: string | null

get?​

optional get?: string | null

patch?​

optional patch?: string | null

post?​

optional post?: string | null

put?​

optional put?: string | null

responseBody?​

optional responseBody?: string | null

selector?​

optional selector?: string | null