postRequest method

Future<HttpResponse> postRequest(
  1. PeerId peerId,
  2. String path, {
  3. Map<String, String>? headers,
  4. Uint8List? body,
})

Implementation

Future<HttpResponse> postRequest(PeerId peerId, String path, {Map<String, String>? headers, Uint8List? body}) {
  return request(peerId, HttpMethod.post, path, headers: headers, body: body);
}