Skip to content

Add support context propagation #225

Open
@He-Pin

Description

@He-Pin

Motivation:
When using the transport, we always need to pass some context from the context to the sessionFactory or handler, but with the current implementation, the original ServerRequest is completely been ignored, it would be nice that we pass this information down.

we have some kind of options:

  1. with ThreadLocal
  2. With reactor's contextWrite and deferContext
  3. with an additional parameter.

I think the 3 is better, which will not bound to any implementation.

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