Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
A Connection that uses http(s) communication. More...
#include <connection.h>
Data Fields | |
Connection | wc_base |
The base Connection. More... | |
CurlTool * | wc_curl_p |
The CurlTool that encapsulates the web-based calls. More... | |
char * | wc_uri_s |
The URI that the WebConnection is to. More... | |
Data Fields inherited from Connection | |
uint32 | co_id |
The internal id for this Connection. More... | |
ConnectionType | co_type |
The ConnectionType for this Connection. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Connection | |
Connection * | AllocateWebServerConnection (const char *const full_uri_s, CurlMode curl_mode) |
Allocate a WebConnection to a Server. More... | |
Connection * | AllocaterRawClientConnection (int server_socket_fd) |
Allocate a RawConnection to a Client. More... | |
const char * | GetConnectionData (Connection *connection_p) |
Get the data stored in a Connection's buffer. More... | |
void | FreeConnection (Connection *connection_p) |
Free a Connection. More... | |
const char * | MakeRemoteJsonCallViaConnection (Connection *connection_p, const json_t *req_p) |
Send JSON-based data over a Connection. More... | |
bool | SetConnectionCredentials (Connection *connection_p, const char *username_s, const char *password_s) |
json_t * | CallServices (json_t *client_results_p, const User *user_p, Connection *connection_p) |
Make a call from a Client to a Server. More... | |
struct Connection * | AllocateRawServerConnection (const char *const hostname_s, const char *const port_s) |
Allocate a RawConnection to a Server. More... | |
A Connection that uses http(s) communication.
Connection wc_base |
The base Connection.
char* wc_uri_s |
The URI that the WebConnection is to.