Skip to content

Allow setting of custom headers in client requests #82

Open

Description

@sqlrob

Various authentication mechanisms and state mechanisms use headers to communicate with the server. One simple method to support these is to be able to add arbitrary headers to a given connection.

Activity

  1. sta commented on Oct 20, 2014

    @sta
    Owner

    I don't plan to support user custom headers for now.

  2. samuelgoldenbaum commented on Aug 11, 2015

    @samuelgoldenbaum

    Really do need this for jwt tokens

  3. tewarid commented on Dec 30, 2015

    @tewarid

    Elaborating on the previous comment, it will be really nice to be able to set bearer tokens as described in RFC 6750.

    For example

    GET /resource HTTP/1.1
    Host: server.example.com
    Authorization: Bearer mF_9.B5f-4.1JqM
    
  4. ramonchis commented on Feb 5, 2016

    @ramonchis

    Hi. For my project, I implemented changes to the library that allow setting custom HTTP headers.

    Is this something that you are willing to incorporate?

    If so, how would you prefer to get the modified code? Diffs? Full source for the changed file?

    Thanks,

    Ramonchis

  5. GibbOne commented on Apr 21, 2016

    @GibbOne

    @ramonchis do you implement client and server side? Do you implement JWT?

  6. NikkyAI commented on Jan 8, 2021

    @NikkyAI

    is there any workaround for this in use currently ?

    or was this possibly added as a feature and forgot to close this issue ?

  7. tewarid commented on Jan 8, 2021

    @tewarid

    is there any workaround for this in use currently ?

    or was this possibly added as a feature and forgot to close this issue ?

    Please see #22 (comment).

  8. NikkyAI commented on Jan 8, 2021

    @NikkyAI

    cool, sadly i do not have the option to change the dependecy currently, otherwise i would use WebSocket4Net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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