Skip to content

Specify transport type or autocompletion. #5187

@nayounsang

Description

@nayounsang

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

import { io } from "socket.io-client";
    const newSocket = io(process.env.HELLO, {
      withCredentials: true,
      transports: [], // something...
    });

Describe the solution you'd like
A clear and concise description of what you want to happen.
I was able to specify specific transports.
I think it would be more convenient if it was auto-completed.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
A different type instead of string[]
Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions