Sample code for 30+ languages & platforms
C++

Example: Http.GetDomain method

Demonstrates the GetDomain method.

Chilkat C++ Downloads

C++
#include <CkHttp.h>

void ChilkatSample(void)
    {
    CkHttp http;

    const char *domain = http.getDomain("https://chilkatsoft.com/refdoc/csharp.asp");
    std::cout << domain << "\r\n";

    //  Output: chilkatsoft.com
    }