reactive_graph_net_http_model/component/
response.rs

1use crate::NAMESPACE_HTTP;
2use reactive_graph_graph::component_model;
3use reactive_graph_graph::component_ty;
4use reactive_graph_graph::properties;
5
6properties!(ResponseProperties, (RESPONSE_HEADERS, "response_headers", {}), (STATUS, "status", 200));
7
8component_ty!(COMPONENT_RESPONSE, NAMESPACE_HTTP, COMPONENT_NAME_RESPONSE, "response");
9
10component_model!(
11    Response,
12    get response_headers object,
13    get status u64
14);