Search Results for

    Show / Hide Table of Contents

    Class EmbedRedirectMiddleware

    Middleware for handling requests to the /ImageVault/embed endpoint

    Inheritance
    System.Object
    EmbedRedirectMiddleware
    Namespace: ImageVault.EPiServer.Middleware
    Assembly: ImageVault.EPiServer.dll
    Syntax
    public class EmbedRedirectMiddleware : Object

    Constructors

    EmbedRedirectMiddleware(RequestDelegate, IOptions<ImageVaultClientOptions>)

    Constructor

    Declaration
    public EmbedRedirectMiddleware(RequestDelegate next, IOptions<ImageVaultClientOptions> options)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Http.RequestDelegate next
    Microsoft.Extensions.Options.IOptions<ImageVaultClientOptions> options

    Methods

    Invoke(HttpContext)

    Handles requests to the middleware?

    Declaration
    public Task Invoke(HttpContext context)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Http.HttpContext context
    Returns
    Type Description
    System.Threading.Tasks.Task

    ReplaceHost(Uri)

    Builds a new url that points to the target location

    Declaration
    public Uri ReplaceHost(Uri originalHost)
    Parameters
    Type Name Description
    System.Uri originalHost
    Returns
    Type Description
    System.Uri
    In This Article
    Back to top (c) Meriworks 2002-2022