facebook/wangle

Question about implementing custom frame decoder.

alishir opened this issue · 0 comments

I want to implement simple SIP frame decoder, as you know SIP protocol is similar to HTTP protocol.
From the docs I think I should implement ByteToMessageDecoder. I also inspects proxygen source but I didn't find similar approach for HTTP messages.

What is the best way to handle SIP(HTTP) messages with wangle? Is implementing ByteToMessageDecoder a good approach?