Example #1
0
 /// <summary>
 ///     Requests the regex URL parameters.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="basePath">The base path.</param>
 /// <returns>The params from the request.</returns>
 public static Dictionary <string, object> RequestRegexUrlParams(this HttpListenerContext context, string basePath)
 {
     return(RequestRegexUrlParams(context.RequestPath(), basePath));
 }
Example #2
0
 /// <summary>
 ///     Requests the wildcard URL parameters.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="basePath">The base path.</param>
 /// <returns>The params from the request.</returns>
 public static string[] RequestWildcardUrlParams(this HttpListenerContext context, string basePath)
 {
     return(RequestWildcardUrlParams(context.RequestPath(), basePath));
 }