Skip to content

messages not compressed #340

Description

@SebastianTusk

From the documentation is sounds as if message compression is supported by the JS API. On inspection with the browsers developer tools this seems to be false.
https://www.pubnub.com/docs/sdks/javascript/api-reference/publish-and-subscribe#methods

sendByPost boolean Optional false When true, the SDK uses HTTP POST to publish the messages. The message is sent in the BODY of the request, instead of the query string when HTTP GET is used. Also the messages are compressed thus reducing the size of the messages. Using HTTP POST to publish messages adheres to RESTful API best practices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions