dsb_server library
Functions
-
dsbHandler(
{String index = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><HTML><HEAD><TITLE>Not Found</TITLE><META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD><BODY><h2>Not Found</h2><hr><p>HTTP Error 404. The requested resource is not found.</p></BODY></HTML>', Map< String, String> customHeaders = const {}, required Future<String> generateAuthid(String user, String pass, String bundleid, String appversion, String osversion), required Future<String?> getContent(String endpoint, String authid)}) → Future<Response> Function(Request) -
shelf
handler for a DSB server.index
: HTML to return for 404s.customHeaders
: Custom headers to return with every response.generateAuthid
: github.com/Ampless/Adsignificamus/blob/master/README.md#authgetContent
: github.com/Ampless/Adsignificamus/blob/master/README.md#plans-news-documents- -
httpDate(
) → String