Skip to content

请求转发过程中,有时候需要获取当前请求头,以附加更多的请求头或者移除某些请求头 #9

@gainorloss

Description

@gainorloss

c# saga.SetBranchHeaders(new System.Collections.Generic.Dictionary<string, string> { { "x-tenant-id","1" }, { "Auhthorization","1" } }); saga.SetBranchHeaders(new System.Collections.Generic.Dictionary<string, string> { { { "Auhthorization","1" } });//直接覆盖了x-tenant-id
需要更灵活地控制BranchHeader

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