Namespace: dmURI
Language: C++
Type: Defold C++
File: uri.h
Source: engine/dlib/src/dmsdk/dlib/uri.h
Include: dmsdk/dlib/uri.h
URI functions.
Type: FUNCTION Decodes an URL encoded buffer
Notes
Parameters
src (const char*) - Inputdst (char*) - Decoded outputType: FUNCTION Performs URL encoding of the supplied buffer
Notes
Parameters
src (const char*) - string to encodedst (char*) - the destination bufferdst_size (uint32_t) - size of the provided out bufferbytes_written[out] (uint32_t) - number of bytes writtenType: FUNCTION Parse URI and split in three parts. (scheme, location, path)
Notes
Parameters
uri (const char*) - URI to parseparts (dmURI::Parts) - ResultReturns
RESULT_OK - on successType: STRUCT URI parsing result parts
Type: FUNCTION URI parsing result