Skip to content

Handle 401 Unauthorized response when connecting #132

@nicktgn

Description

@nicktgn

I there a way to intercept and handle any specific server responses like 401 Unauthorized when connecting to websocket using ws.Start() or ws.StartOrFail().

I was trying to use ws.StartOrFail() but it just throws some generic error Unable to connect to the remote server that doesn't have any information about the reason for the error.

Thanks. Would appreciate any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions