Method AddRedbRouteAs4(IServiceCollection)

Assembly: redb.Route.As4.dll

Registers the so that as4: and as4s: URIs resolve, sharing one
Kestrel host with every other HTTP-based connector of the process.

services.AddRedbRoute(route =>
{
route.Services.AddRedbRouteAs4();
route.AddRouteBuilder<MyRoutes>();
});

public static IServiceCollection AddRedbRouteAs4(this IServiceCollection services)