• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NFIBrokerage / slipstream / b87df7204791f041446dcca766380c40ca92284c-PR-72 / 1
99%
main: 100%

Build:
Build:
LAST BUILD BRANCH: test-ci
DEFAULT BRANCH: main
Ran 13 Jan 2025 10:37PM UTC
Files 44
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Jan 2025 02:37PM UTC coverage: 99.318% (+0.004%) from 99.314%
b87df7204791f041446dcca766380c40ca92284c-PR-72.1

Pull #72

github

Gazler
Add support for a binary serializer

In some cases, when using Phoenix channels, it is possible to use a
binary serializer. The library already has support for binary messages,
but this is slightly different. With a binary serializer, all messages
can be sent in a binary format, not just individual payloads. This
commit changes the contract for the serializer to allow returning a
binary as before, or the tuple `{:binary, binary}`

In the integration tests, an example binary encoder that uses
`term_to_binary/1` and `binary_to_term/1` is used. The integration tests
are run both against the existing text based serializer, and the
reference binary serializer. The `GoodExample` has been modified to take
a set of options instead of reading them from the config, although a
fallback is used to minimize the number of tests updated.
Pull Request #72: Add support for a binary serializer

437 of 440 relevant lines covered (99.32%)

52.66 hits per line

Source Files on job b87df7204791f041446dcca766380c40ca92284c-PR-72.1
  • Tree
  • List 44
  • Changed 17
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • b87df720 on github
  • Prev Job for on allow-binary-frames (#bca50f8c39f16f6ba67f1198dc130969fe469b57.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc