1 | # Storybook Websocket Channel
|
2 |
|
3 | Storybook Websocket Channel is a channel for Storybook that can be used when the Storybook Renderer should communicate with the Storybook Manager over the network.
|
4 | A channel can be created using the `createChannel` function.
|
5 |
|
6 | ```js
|
7 | import createChannel from '@storybook/channel-websocket';
|
8 |
|
9 | const channel = createChannel({ url: 'ws://localhost:9001' });
|
10 | ```
|
11 |
|
12 | * * *
|
13 |
|
14 | For more information visit: [storybook.js.org](https://storybook.js.org)
|