Search Results for

    Show / Hide Table of Contents

    Interface IMessageContextAccessor

    Provides access to the current message headers for both reading and writing. This allows pipeline behaviors to inspect and enrich message metadata without coupling to a specific transport.

    Namespace: Chapar.Core.Abstractions
    Assembly: Chapar.Core.dll
    Syntax
    public interface IMessageContextAccessor

    Properties

    | Edit this page View Source

    Headers

    Gets or sets the headers of the current message being processed. Returns null if no message is currently being processed.

    Declaration
    IDictionary<string, object?>? Headers { get; set; }
    Property Value
    Type Description
    IDictionary<string, object>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2026