Google Protocol Buffers and HTTP

You can certainly send even a binary payload with an HTTP request, or in an HTTP response. Just write the bytes of the protocol buffer directly into the request/response, and make sure to set the content type to “application/octet-stream”. The client, and server, should be able to take care of the rest easily. I don’t think you need anything more special than that on either end.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)