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

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