ElectronClientRequest.end method
ElectronClientRequest › end
Unofficial
Sends the last chunk of the request data. Subsequent write or end operations will not be allowed. Thefinish event is emitted just after the end operation. Signature:
end(chunk?: any, encoding?: string | undefined, callback?: (() => void) | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| chunk? | any | The final chunk of request body data. |
| encoding? | string | undefined | The encoding of chunk. |
| callback? | (() => void) | undefined | Invoked after the chunk content has been delivered to the Chromium networking layer. |
Returns: void