Home
last modified time | relevance | path

Searched refs:ensure_bin (Results 1 – 2 of 2) sorted by relevance

/dports/www/erlang-ibrowse/ibrowse-4.4.0/src/
H A Dibrowse.erl492 Headers, Method, ensure_bin(Body),
539 ensure_bin(L) when is_list(L) -> list_to_binary(L); function
540 ensure_bin(B) when is_binary(B) -> B; function
541 ensure_bin(Fun) when is_function(Fun) -> Fun; function
542 ensure_bin({Fun}) when is_function(Fun) -> Fun; function
543 ensure_bin({Fun, _} = Body) when is_function(Fun) -> Body. function
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/ibrowse/src/
H A Dibrowse.erl501 Headers, Method, ensure_bin(Body),
548 ensure_bin(L) when is_list(L) -> list_to_binary(L); function
549 ensure_bin(B) when is_binary(B) -> B; function
550 ensure_bin(Fun) when is_function(Fun) -> Fun; function
551 ensure_bin({Fun}) when is_function(Fun) -> Fun; function
552 ensure_bin({Fun, _} = Body) when is_function(Fun) -> Body. function