JCMais/node-libcurl

View on GitHub
examples/19-binary-data-protobuf.js

Summary

Maintainability
A
1 hr
Test Coverage

Function sendProtoBufMessage has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function sendProtoBufMessage(url, message) {
  const curl = new Curl()
  curl.setOpt('URL', url)
  // enable if you want to see even more debug info
  // curl.setOpt('VERBOSE', true)
Severity: Minor
Found in examples/19-binary-data-protobuf.js - About 1 hr to fix

    There are no issues that match your filters.

    Category