GRPC C++  1.26.0
Data Structures | Functions
uri_parser.h File Reference
#include <grpc/support/port_platform.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  grpc_uri
 

Functions

grpc_urigrpc_uri_parse (const char *uri_text, bool suppress_errors)
 parse a uri, return NULL on failure More...
 
const char * grpc_uri_get_query_arg (const grpc_uri *uri, const char *key)
 return the part of a query string after the '=' in "?key=xxx&...", or NULL if key is not present More...
 
void grpc_uri_destroy (grpc_uri *uri)
 destroy a uri More...
 

Function Documentation

◆ grpc_uri_destroy()

void grpc_uri_destroy ( grpc_uri uri)

destroy a uri

◆ grpc_uri_get_query_arg()

const char* grpc_uri_get_query_arg ( const grpc_uri uri,
const char *  key 
)

return the part of a query string after the '=' in "?key=xxx&...", or NULL if key is not present

◆ grpc_uri_parse()

grpc_uri* grpc_uri_parse ( const char *  uri_text,
bool  suppress_errors 
)

parse a uri, return NULL on failure