arudradey's picture
download
raw
760 Bytes
// Copyright 2016 The Emscripten Authors. All rights reserved.
// Emscripten is available under two separate licenses, the MIT license and the
// University of Illinois/NCSA Open Source License. Both these licenses can be
// found in the LICENSE file.
#include <string.h>
#include <stdio.h>
#include <emscripten/fetch.h>
void success(emscripten_fetch_t *fetch)
{
printf("Deleting file from IDB succeeded.\n");
emscripten_fetch_close(fetch);
}
void failure(emscripten_fetch_t *fetch)
{
printf("Deleting file from IDB failed.\n");
emscripten_fetch_close(fetch);
}
int main()
{
emscripten_fetch_attr_t attr;
emscripten_fetch_attr_init(&attr);
strcpy(attr.requestMethod, "EM_IDB_DELETE");
emscripten_fetch(&attr, "filename_to_delete.dat");
}

Xet Storage Details

Size:
760 Bytes
·
Xet hash:
61b115a32a862ace744da13033fa5bf91076324042186253290440354788aac3

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.