Discover Packages
github.com/viant/datly
runtime
handler
proxy
package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Sep 28, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package proxy provides an ordinary custom handler for explicitly configured
HTTP forwarding. Native input binding and runtime lifecycle rules apply.
type Config struct {
Client xhttp .Options `json:"client"`
ForwardQuery bool `json:"forwardQuery,omitempty"`
ForwardBody bool `json:"forwardBody,omitempty"`
}
Config is deployment-owned forwarding policy. Nothing from the incoming
request selects the destination or is forwarded without these options.
type Input struct {
Config *Config `parameter:"Config,kind=const,in=Proxy,required"`
HTTP xhttp .Provider `bind:"kind=http_client,required"`
Request *http .Request `parameter:"Request,kind=http_request,required"`
}
Init is the same input initialization hook available to application handlers.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.