Table of Contents

Class MapExtensions

Namespace
Phoesion.Glow.SDK.Firefly
Assembly
Phoesion.Glow.SDK.Firefly.Abstractions.dll
public static class MapExtensions
Inheritance
object
MapExtensions

Methods

Map(IGlowApplicationBuilder, string, Action<IGlowApplicationBuilder>)

Branches the request pipeline based on matches of the given request path. If the request path starts with the given path, the branch is executed.

public static IGlowApplicationBuilder Map(this IGlowApplicationBuilder app, string pathMatch, Action<IGlowApplicationBuilder> configuration)

Parameters

app IGlowApplicationBuilder

The IGlowApplicationBuilder instance.

pathMatch string

The request path to match.

configuration Action<IGlowApplicationBuilder>

The branch to take for positive path matches.

Returns

IGlowApplicationBuilder

The IGlowApplicationBuilder instance.

Map(IGlowApplicationBuilder, string, bool, Action<IGlowApplicationBuilder>)

Branches the request pipeline based on matches of the given request path. If the request path starts with the given path, the branch is executed.

public static IGlowApplicationBuilder Map(this IGlowApplicationBuilder app, string pathMatch, bool preserveMatchedPathSegment, Action<IGlowApplicationBuilder> configuration)

Parameters

app IGlowApplicationBuilder

The IGlowApplicationBuilder instance.

pathMatch string

The request path to match.

preserveMatchedPathSegment bool

if false, matched path would be removed from Request.Path and added to Request.PathBase.

configuration Action<IGlowApplicationBuilder>

The branch to take for positive path matches.

Returns

IGlowApplicationBuilder

The IGlowApplicationBuilder instance.