kazu-yamamoto / http2

HTTP/2.0 library including HPACK
BSD 3-Clause "New" or "Revised" License
86 stars 22 forks source link

Exposing frame-level data to the user #30

Open Xetera opened 3 years ago

Xetera commented 3 years ago

From what I can see it looks like it's not possible to interact with the frames inside a request in the server side of the library. Is there a way to expose this to allow reading the frames of a request such as SETTINGS (seeing as it's already well-documented).

Apologies if this is already accessible through a request in Network.HTTP2.Server I just couldn't find a way.

EDIT: hmm I think this library doesn't retain frame information after parsing them so I imagine implementing this is going to be more complex than just adding accessors for internal data

kazu-yamamoto commented 3 years ago

Sorry but I don't understand what "frame information" mean.

Xetera commented 3 years ago

I was originally looking to be able to access things like SettingsList from inside a request but I realized this is probably out of scope for this project.