Skip to content

sending/publishing data with headers #487

Closed
@Polve

Description

@Polve

Problem / use case

I'm trying to port a simple stomp client developed in TS using the stompjs library.

When I write to the server I need to pass special headers data (for handling RPC for example), and I use the Client.publish method defined here: https://stomp-js.github.io/api-docs/latest/classes/Client.html#publish

With krossbow it's not clear how to pass/add custom headers when calling send* functions: is there a way?

Feature (solution)

Ideally I can optionally pass additional headers to the send* functions in order to give some more metadata to the server.

Current alternatives

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions