MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / uplink_event

Method uplink_event

chirpstack/src/integration/http.rs:94–105  ·  view source on GitHub ↗
(
        &self,
        _vars: &HashMap<String, String>,
        pl: &integration::UplinkEvent,
    )

Source from the content-addressed store, hash-verified

92#[async_trait]
93impl IntegrationTrait for Integration {
94 async fn uplink_event(
95 &self,
96 _vars: &HashMap<String, String>,
97 pl: &integration::UplinkEvent,
98 ) -> Result<()> {
99 let b = match self.json {
100 true => serde_json::to_vec(&pl)?,
101 false => pl.encode_to_vec(),
102 };
103
104 self.post_event("up", b).await
105 }
106
107 async fn join_event(
108 &self,

Callers 1

test_httpFunction · 0.45

Calls 1

post_eventMethod · 0.45

Tested by 1

test_httpFunction · 0.36