MCPcopy Create free account
hub / github.com/ShareDropio/sharedrop / abortFileTransfer

Function abortFileTransfer

app/components/peer-widget.js:78–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 },
77
78 abortFileTransfer() {
79 this._cancelFileTransfer();
80
81 const { webrtc } = this;
82 const connection = this.get('peer.peer.connection');
83
84 webrtc.sendCancelRequest(connection);
85 },
86
87 acceptFileTransfer() {
88 const { peer } = this;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected