C# Class HttpMock.RequestHandlerExpectExtensions

Datei anzeigen Open project: hibri/HttpMock

Public Methods

Method Description
Times ( this handler, int times ) : void
WithBody ( this handler, IResolveConstraint constraint ) : void
WithBody ( this handler, string expectedBody ) : void
WithHeader ( this handler, string header, IResolveConstraint match ) : void

Method Details

Times() public static method

public static Times ( this handler, int times ) : void
handler this
times int
return void

WithBody() public static method

public static WithBody ( this handler, IResolveConstraint constraint ) : void
handler this
constraint IResolveConstraint
return void

WithBody() public static method

public static WithBody ( this handler, string expectedBody ) : void
handler this
expectedBody string
return void

WithHeader() public static method

public static WithHeader ( this handler, string header, IResolveConstraint match ) : void
handler this
header string
match IResolveConstraint
return void