py-libp2p/libp2p/stream_muxer/mplex/constants.py
2019-01-09 21:38:56 +03:00

7 lines
88 B
Python

HEADER_TAGS = {
"NEW_STREAM": 0,
"MESSAGE": 2,
"CLOSE": 4,
"RESET": 6
}