Skip to content

Find out used transport #3839

Discussion options

You must be logged in to vote
const currentTransport: socket.connected ? socket.io.engine.transport.name : "-";

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@RonnieRocket147
Comment options

@RonnieRocket147
Comment options

@darrachequesne
Comment options

Answer selected by darrachequesne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants