public HttpClientModule(Program.Options options) { Get["Test HttpClient Multiple", "/clients/httpclient/multiple"] = HttpClientMultiple; Get["Test HttpClient Single", "/clients/httpclient/single"] = HttpClientSingle; Get["Test HttpClient Leaks", "/clients/httpclient/leaks"] = HttpClientLeaks; Get["Test RestSharp Multiple", "/clients/restsharp/multiple"] = RestSharpMultiple; Get["Test Flurl Multiple", "/clients/flurl/multiple"] = FlurlMultiple; this.options = options; }
public HttpServerModule(Program.Options options, IDocumentStore documentStore) { Get["HttpServer", "/servers/default"] = HttpServer; Get["HttpServer to test npgsql query operation", "/servers/npgsql"] = HttpServerWithNpgsqlQuery; Post["HttpServer to test npgsql insert operation", "/servers/npgsql-insert"] = HttpServerWithNpgsqlInsert; Put["HttpServer to test npgsql update operation", "/servers/npgsql-update"] = HttpServerWithNpgsqlUpdate; Get["HttpServer to test marten query operation with LightweightSession", "/servers/marten-ls"] = HttpServerWithMartenQuery_LightweightSession; Get["HttpServer to test marten query operation with QuerySession", "/servers/marten-qs"] = HttpServerWithMartenQuery_QuerySession; Post["HttpServer to test marten insert operation", "/servers/marten-insert"] = HttpServerWithMartenInsert; Put["HttpServer to test marten update operation", "/servers/marten-update"] = HttpServerWithMartenUpdate; Get["HttpServer to test marten long connection query operation with LightweightSession", "/servers/marten-ls-long-connection"] = HttpServerWithMartenQueryLongConnection_LightweightSession; Post["HttpServer to test marten insert operation with long connection", "/servers/marten-insert-long-connection"] = HttpServerWithMartenInsertLongConnection; this.options = options; this.documentStore = documentStore; }
public Bootstrapper(Program.Options options) { this.options = options; }