The OpenD Programming Language

serveStaticData

Serves static data. To be used with dispatcher.

  1. auto serveStaticData(string urlPrefix, immutable(void)[] data, string contentType)
    version(with_breaking_cgi_features)
    serveStaticData
    (
    string urlPrefix
    ,
    immutable(void)[] data
    ,
    string contentType = null
    )
  2. auto serveStaticData(string urlPrefix, immutable(ubyte)[] data, string contentType, string filenameToSuggestAsDownload)

Meta

History

Added October 31, 2021