httptoolkit-ui icon indicating copy to clipboard operation
httptoolkit-ui copied to clipboard

rawprotoparse deprecated

Open nutterthanos opened this issue 5 months ago • 2 comments

I've noticed that the package rawprotoparse got depecated by @konsumer

Caution

This has been depracated, in favor of rawproto, where I did similar stuff, but improved things a bit. You should use that, instead.

should we switch it to rawproto instead now?

nutterthanos avatar Jul 04 '25 23:07 nutterthanos

It looks like the main benefit is better options for generating & tweaking custom schemas, I think? The flipside is that we don't use that at all, and it makes the code larger & more complicated.

@konsumer Is there likely to be any benefit from switching in HTTP Toolkit if we only ever do raw parsing to JS, without any schema or tweaking?

pimterry avatar Jul 05 '25 11:07 pimterry

Nah, I think without schema it's maybe about the same, it just offers another thing to customize if users what that. One area might just be that I am keeping the new version more up-to-date, and it also has other options for better searching, and a nice web UI, that is seperate, which you could probably use pretty directly in httptoolkit, if you wanted to.

At work, we use raw proto because we parse proto that we don't have the schema for, and it means we can map (even partial) schema (similar to what you might get from a proper parser, if you have the SDL) which is great for troubleshooting, but the way we actually use it is to search for just the parts we want, and it's much more efficient. There might be like have of the binary message we actually care about, so we can just6 pull out that, and just ignore the rest, which is really powerful.

konsumer avatar Jul 05 '25 22:07 konsumer