PeanutButter
Loading...
Searching...
No Matches
PeanutButter.SimpleHTTPServer.Testability.HttpServerExtensions Class Reference

Static Public Member Functions

static void EnableRequestLogging (this IHttpServer server)
static void ShouldHaveReceivedRequestFor (this IHttpServer server, string path, HttpMethods method=HttpMethods.Any)
static void ShouldNotHaveReceivedRequestFor (this IHttpServer server, string path, HttpMethods method=HttpMethods.Any)
static void ShouldHaveHadHeaderFor (this IHttpServer server, string path, HttpMethods method, string header, string expectedValue)
static void ShouldNotHaveHadHeaderFor (this IHttpServer server, string path, HttpMethods method, string header, string expectedValue)
static void Reset (this IHttpServer server)
static IEnumerable< RequestLogItemGetRequestLogsMatching (this IHttpServer server, Func< RequestLogItem, bool > matcher)
static IEnumerable< RequestLogItemGetRequestLogsMatching (this IHttpServer server, string path, HttpMethods method)

The documentation for this class was generated from the following file:
  • source/SimpleServers/PeanutButter.SimpleHTTPServer.Testability/HttpServerExtensions.cs