Esempio n. 1
0
 public void Start(int port, HttpScheme scheme = HttpScheme.Http)
 {
     Start($"{scheme.ToString().ToLower()}://+:{port}/");
 }
Esempio n. 2
0
 public FakeHttpContextBuilder SetScheme(HttpScheme scheme)
 {
     _context.Request.Scheme = scheme.ToString().ToLower();
     return(new FakeHttpContextBuilder(_context));
 }