hibri / HttpMock

A library for creating Http servers on the fly in tests and stubbing responses
MIT License
128 stars 44 forks source link

New method GetRequestAt added to RequestHandler class #65

Closed adarsh-angadi closed 7 years ago

adarsh-angadi commented 7 years ago

Addresses issue #64. by giving a GetRequestAt(int index) method on RequestHandler class.

hibri commented 7 years ago

Hi @addy2601 . Thanks for the PR. I've added a comment to make the implementation a bit more flexible, as I see that there will be more matching required in the future.

dwpoulos commented 7 years ago

Can you also add that to the IRequestVerify interface?

hibri commented 7 years ago

@addy2601 Thank you for doing all the changes