mirror of
https://github.com/logos-messaging/docs.waku.org.git
synced 2026-01-03 13:23:06 +00:00
12 lines
791 B
Markdown
12 lines
791 B
Markdown
|
|
---
|
||
|
|
title: Transports in Waku
|
||
|
|
---
|
||
|
|
|
||
|
|
Waku v2 is built in top of libp2p, and like libp2p it strives to be transport agnostic. We define a set of recommended transports in order to achieve a baseline of interoperability between clients.
|
||
|
|
|
||
|
|
This section describes these recommended transports:
|
||
|
|
|
||
|
|
- Waku nodes uses TCP to communicate by default. A service node should be using TCP to connect to other nodes and listen to
|
||
|
|
- In environments where TCP is not available, such as browser, secure websocket is used. service nodes are encouraged to setup a SSL certificate to enable incoming connections from browser and serve them.
|
||
|
|
- Other protocols such as [WebRTC](https://github.com/waku-org/js-waku/issues/20), [WebTransport](https://github.com/waku-org/js-waku/issues/697) and QUIC have been studied.
|