UNPKG
@ucanto/transport
Version:
latest (9.2.1)
9.2.1
9.2.0
9.1.1
9.1.0
9.0.2
9.0.1
9.0.0
8.0.0
7.0.3
7.0.2
7.0.1
7.0.0
5.1.1
5.1.0
5.0.0
4.4.0
4.3.4
4.2.3
4.2.2
4.1.0
4.0.3
4.0.2
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.0.0
1.0.1
1.0.0
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0
ucanto transport
github.com/web3-storage/ucanto
web3-storage/ucanto
@ucanto/transport
/
dist
/
src
/
legacy
/
response.d.ts
4 lines
•
275 B
TypeScript
View Raw
1
2
3
4
export
const
contentType
:
"application/cbor"
;
export
function
encode<
Message
extends
API
.
AgentMessage
<
any
>>(
message
:
Message
,
options
?:
API
.
EncodeOptions
|
undefined
):
API
.
HTTPResponse
<
Message
>;
import
*
as
API
from
'@ucanto/interface'
;
//# sourceMappingURL=response.d.ts.map