Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.32 KB

Http.md

File metadata and controls

37 lines (28 loc) · 1.32 KB

Http

Route settings specific to HTTP routes.

Properties

Name Type Description Notes
fleets List[str] list of Fleet UIDs to apply route to, if any. If empty, applies to all Fleets [optional]
filter HttpFilter [optional]
transform HttpTransform [optional]
throttle_ms int Minimum time between requests in Miliseconds [optional]
url str Route URL [optional]
http_headers Dict[str, str] [optional]
disable_http_headers bool [optional] [default to False]
timeout int Timeout in seconds for each request [optional] [default to 15]

Example

from notehub_py.models.http import Http

# TODO update the JSON string below
json = "{}"
# create an instance of Http from a JSON string
http_instance = Http.from_json(json)
# print the JSON string representation of the object
print(Http.to_json())

# convert the object into a dict
http_dict = http_instance.to_dict()
# create an instance of Http from a dict
http_from_dict = Http.from_dict(http_dict)

[Back to Model list] [Back to API list] [Back to README]