|
客户端:
//let bytes=new Uint8Array(128)
fetch.fetch(
{
url: 'http://192.168.4.1:80',
method: 'POST',
data: bytes,
header: {
'Accept': 'text/plain',
'Content-Type': 'application/x-www-form-urlencoded'
},
responseType: 'arraybuffer'
}
)
服务端 : 接收数据 com.eclipsesource.v8.utils.typedarrays.UInt8Array@7807f
|
|