Skip to content

add binding for getRemotePort #1160

@Shachar-Brightdata

Description

@Shachar-Brightdata

Hi, I've a patch on uWebSocket.js and uWebSocket that exposes the us_socket_remote_port api and the adds binding for it with getRemotePort
is this something you'll be willing to merge on the main branch, I thought i'ts better to ask before making pull requests the repositories.

I'm in the process of updating from an older version of uWebsocket.js and in my use case uses the remote port to generate a unique id for the connection, something that was possible in older versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions