testillano / h2agent

C++ HTTP/2 Mock Service which enables mocking HTTP/2 applications (also HTTP/1 supported).
Other
10 stars 0 forks source link

Rename requestNumber to eventNumber #78

Closed testillano closed 1 year ago

testillano commented 1 year ago

Is your feature request related to a problem? Please describe. Not a problem, but an improvement to be more abstract, as client features are being added. Events are requests towards server but also include response information, so it is a whole event. Same for client: events are requests sent but also possible responses received. All the information is an event.

Indeed, accessing the event you could access i.e. requestBody, but also responseBody, so requestNumer is not a good name for the query parameter.