Skip to content
DocsTry Aspire
DocsTry

RedisResource.withModule

Method
📦 Aspire.Hosting.Redis v13.5.3
interface RedisResource {
// ... omitted for brevity
withModule(path: string): RedisResource;
}

Signature

methodwithModulebuilder
Configures the Redis resource to use the specified Redis module by providing its path inside the container.
withModule(path: string): RedisResource
pathstring
RedisResource

Defined on

This method is defined on the following type: