Exemplo n.º 1
0
        private static Dictionary <string, string> Form(HttpContext context)
        {
            try
            {
                return(MonitorrHelpers.ToDictionary(context.Request?.Form));
            }
            catch (InvalidOperationException)
            {
            }

            return(null);
        }
Exemplo n.º 2
0
 private static Dictionary <string, string> QueryString(HttpContext context)
 {
     return(MonitorrHelpers.ToDictionary(context.Request?.Query));
 }
Exemplo n.º 3
0
 private static Dictionary <string, string> Cookies(HttpContext context)
 {
     return(MonitorrHelpers.ToDictionary(context.Request?.Cookies));
 }
Exemplo n.º 4
0
 private static Dictionary <string, string> ServerVariables(HttpContext context)
 {
     return(MonitorrHelpers.ToDictionary(context.Request?.Headers));
 }