The OpenD Programming Language

CustomCgiDispatcherMain

Allows for a generic DispatcherMain with custom arguments. Note you can use defaultMaxContentLength as the second argument if you like.

  1. mixintemplate CustomCgiDispatcherMain(CustomCgi, size_t maxContentLength, Presenter, DispatcherArgs...)
  2. mixintemplate CustomCgiDispatcherMain(CustomCgi, size_t maxContentLength, DispatcherArgs...)
    mixin template CustomCgiDispatcherMain (
    CustomCgi
    size_t maxContentLength
    DispatcherArgs...
    ) if (
    !is(DispatcherArgs[0] : WebPresenter!T,
    T
    )
    ) {}

Meta

History

Added May 13, 2023 (dub v11.0)