private static Dictionary <string, string> Form(HttpContext context) { try { return(MonitorrHelpers.ToDictionary(context.Request?.Form)); } catch (InvalidOperationException) { } return(null); }
private static Dictionary <string, string> QueryString(HttpContext context) { return(MonitorrHelpers.ToDictionary(context.Request?.Query)); }
private static Dictionary <string, string> Cookies(HttpContext context) { return(MonitorrHelpers.ToDictionary(context.Request?.Cookies)); }
private static Dictionary <string, string> ServerVariables(HttpContext context) { return(MonitorrHelpers.ToDictionary(context.Request?.Headers)); }