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