withStaticFiles
Function
interface YarpResource { // ... omitted for brevity withStaticFiles(): YarpResource;}Signature
method
withStaticFiles builder Enables static file serving in the YARP resource. Static files are served from the wwwroot folder.
withStaticFiles(): YarpResourceReturns
YarpResource Applies to
This function is an extension method on the following types: