1
我目前將消息發送到推在.NET這樣的:Pusher是否允許非ASCII(JSON)格式的傳輸有效載荷?
var result = pusher.Trigger("channel-1", "test_event", new { message = "hello world" });
和接收他們在JavaScript這樣的:
var pusher = new Pusher('APP_KEY');
var channel = pusher.subscribe('channel-1');
channel.bind('test_event', function(data) {
// process
}
);
是否可以發送有效載荷的不同(更小)的格式,例如Protocol Buffers?