Documentation ¶
Index ¶
- func GetIngressRoute(routes []dal.IngressRoute, method string, path string) (*dal.IngressRoute, error)
- func ResponseBodyForContentType(headers map[string][]string, body []byte) ([]byte, error)
- func ValidateAndExtractRequestBody(route *dal.IngressRoute, r *http.Request, sch *schema.Schema) ([]byte, error)
- func ValidateCallBody(body []byte, verbRef *schema.VerbRef, sch *schema.Schema) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIngressRoute ¶
func GetIngressRoute(routes []dal.IngressRoute, method string, path string) (*dal.IngressRoute, error)
func ResponseBodyForContentType ¶ added in v0.109.0
func ValidateAndExtractRequestBody ¶ added in v0.91.0
func ValidateAndExtractRequestBody(route *dal.IngressRoute, r *http.Request, sch *schema.Schema) ([]byte, error)
ValidateAndExtractRequestBody extracts the HttpRequest body from an HTTP request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.