15 lines
470 B
Markdown
Raw Normal View History

2017-05-17 00:21:36 +02:00
# Storybook Websocket Channel
2017-05-26 11:21:46 +02:00
2017-05-17 00:21:36 +02:00
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.
A channel can be created using the `createChannel` function.
```js
import createChannel from '@storybook/channel-websocket';
const channel = createChannel({ url: 'ws://localhost:9001' });
```
2017-05-17 00:21:36 +02:00
2017-05-26 11:21:46 +02:00
* * *
2017-05-17 00:21:36 +02:00
2019-06-03 11:20:27 -07:00
For more information visit: [storybook.js.org](https://storybook.js.org)