feat: Add Unix Domain Socket support for HTTP requests #19
Annotations
3 errors and 10 warnings
|
Format Check
Process completed with exit code 1.
|
|
Credo
Process completed with exit code 8.
|
|
Dialyzer
Process completed with exit code 2.
|
|
Credo:
lib/http/unix_socket.ex#L323
Function body is nested too deep (max depth is 3, was 4).
|
|
Credo:
lib/http/unix_socket.ex#L135
`Enum.map_join/3` is more efficient than `Enum.map/2 |> Enum.join/2`.
|
|
Credo:
test/support/unix_socket_server.ex#L259
`Enum.map_join/3` is more efficient than `Enum.map/2 |> Enum.join/2`.
|
|
contract_supertype:
lib/http/unix_socket.ex#L300
Type specification for receive_body is a supertype of the success typing.
|
|
contract_supertype:
lib/http/unix_socket.ex#L197
Type specification for recv_until_headers_end is a supertype of the success typing.
|
|
extra_range:
lib/http/unix_socket.ex#L92
@SPEC for build_http_request has more types than are returned by the function.
|
|
no_return:
lib/http.ex#L256
Function fetch/2 has no local return.
|
|
no_return:
lib/http.ex#L256
Function fetch/1 has no local return.
|
|
invalid_contract:
lib/http.ex#L255
Invalid type specification for function fetch.
|
|
pattern_match:
lib/http.ex#L1
The pattern can never match the type true.
|