withStaticFiles
Method
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 method applies to the following types: