vttp
An HTTP backed Virtual Table extension for SQLite
Loading...
Searching...
No Matches
lib
request.h
1
#pragma once
2
#include "sql.h"
3
#define VT_EMPTY_INFERENCE "vttp can't infer columns from an empty response. please try again later when the api is up or provide explicit columns yourself"
4
int
vt_validate_url(
const
char
*
url
,
char
**error);
5
/* A NULL document with SQLITE_OK represents an empty HTTP body. */
6
int
vt_request(
const
vt_config
*cfg, yyjson_doc **doc,
char
**error);
7
size_t
vt_row_count(yyjson_doc *doc);
8
yyjson_val *vt_row(yyjson_doc *doc,
size_t
index);
url
Definition
fetch.h:15
vt_config
Definition
sql.h:22
Generated by
1.9.8