Show / Hide Table of Contents

    Class RequestIdentifierOptions

    Configuration options for RequestIdentifierMiddleware.

    Inheritance
    System.Object
    RequestIdentifierOptions
    Namespace: Cuemon.AspNetCore.Http.Headers
    Assembly: Cuemon.AspNetCore.dll
    Syntax
    public class RequestIdentifierOptions

    Constructors

    | Improve this Doc

    RequestIdentifierOptions()

    Initializes a new instance of the RequestIdentifierOptions class.

    Declaration
    public RequestIdentifierOptions()
    Remarks

    The following table shows the initial property values for an instance of RequestIdentifierOptions.

    PropertyInitial Value
    HeaderNameX-Request-ID
    RequestProviderDynamicRequest.Create(Guid.NewGuid().ToString("N")

    Properties

    | Improve this Doc

    HeaderName

    Gets or sets the name of the correlation identifier HTTP header.

    Declaration
    public string HeaderName { get; set; }
    Property Value
    Type Description
    System.String

    The name of the correlation identifier HTTP header.

    | Improve this Doc

    RequestProvider

    Gets or sets the function delegate that provides the correlation implementation.

    Declaration
    public Func<IRequest> RequestProvider { get; set; }
    Property Value
    Type Description
    System.Func<IRequest>

    The function delegate that provides the correlation implementation.

    Extension Methods

    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Byte[], Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, Byte[]>, Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Byte[], Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Byte[], Action<ContentTimeBasedOptions>)
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX