Method AddAttachmentFromFile(string, string?, string?)

Assembly: redb.Route.dll

Adds the file at path as an attachment, read from disk whenever it is sent; the name and file
name default to the file's name. The text arguments are literal.

IRouteDefinition AddAttachmentFromFile(string path, string? name = null, string? contentType = null)