Method GetStreamCacheOptions(IRouteContext?)
The stream cache options in force for context: a registered
service, else the engine's
, else the defaults. The .StreamCaching() step
resolves them the same way; a connector that spools through takes them from here.
public static StreamCacheOptions GetStreamCacheOptions(this IRouteContext? context)