Go to the documentation of this file.
19 node.warn('Sending http GET request...')
20 h1 = http.client.HTTPConnection('api.ipify.org', 80)
21 h1.request("GET", "/")
23 node.warn(f'{r1.status} {r1.reason}')
25 node.warn(f'Public IP: {data1}')
27 node.io['end'].send(Buffer(32))
33 script->outputs[
"end"].link(xout->input);
XLinkOut node. Sends messages over XLink.
Represents the pipeline, set of nodes and connections between them.
std::shared_ptr< DataOutputQueue > getOutputQueue(const std::string &name)
std::shared_ptr< N > create()
void setProcessor(ProcessorType type)
Base message - buffer of binary data.
void setStreamName(const std::string &name)
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19