Skip to content

Latest commit

History

History
51 lines (42 loc) · 1.81 KB

File metadata and controls

51 lines (42 loc) · 1.81 KB

HttpRequest

Properties

NameTypeDescriptionNotes
bytes_receivedint[optional]
bytes_sentint[optional]
eventsList[ReportEvent][optional]
extra_headersList[str][optional]
flagsint[optional]
passwordstr[optional]
pathstr[optional]
pcap_stream_idint[optional]
post_datastr[optional]
proxystr[optional]
proxy_bypassstr[optional]
refererstr[optional]
request_bodyPcapBodyInfo[optional]
response_bodyPcapBodyInfo[optional]
response_statusint[optional]
server_ipstr[optional]
server_namestr[optional]
server_portint[optional]
serviceint[optional]
user_agentstr[optional]
usernamestr[optional]
verbstr[optional]
versionstr[optional]

Example

fromrevengai.models.http_requestimportHttpRequest# TODO update the JSON string belowjson="{}"# create an instance of HttpRequest from a JSON stringhttp_request_instance=HttpRequest.from_json(json)
# print the JSON string representation of the objectprint(HttpRequest.to_json())
# convert the object into a dicthttp_request_dict=http_request_instance.to_dict()
# create an instance of HttpRequest from a dicthttp_request_from_dict=HttpRequest.from_dict(http_request_dict)

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