docs-v2/content/flux/v0/stdlib/socket/_index.md

45 lines
1.1 KiB
Markdown

---
title: socket package
description: >
The `socket` package provides tools for returning data from socket connections.
menu:
flux_v0_ref:
name: socket
parent: stdlib
identifier: socket
weight: 11
cascade:
introduced: 0.21.0
---
<!------------------------------------------------------------------------------
IMPORTANT: This page was generated from comments in the Flux source code. Any
edits made directly to this page will be overwritten the next time the
documentation is generated.
To make updates to this documentation, update the comments above the package
declaration in the Flux source code:
https://github.com/influxdata/flux/blob/master/stdlib/socket/socket.flux
Contributing to Flux: https://github.com/influxdata/flux#contributing
Fluxdoc syntax: https://github.com/influxdata/flux/blob/master/docs/fluxdoc.md
------------------------------------------------------------------------------->
The `socket` package provides tools for returning data from socket connections.
Import the `socket` package:
```js
import "socket"
```
## Functions
{{< children type="functions" show="pages" >}}