I'm struggling to update my requestHTTP function call to use TLS. I've attempted to set the [HTTPClientSettings]|(https://vibed.org/api/vibe.http.client/HTTPClientSettings) thus:

auto settings = new HTTPClientSettings;
settings.tlsContextSetup = (scope ctx) {
    ctx.kind = TLSContextKind.client;
};

HTTPClientResponse response = requestHTTP(url, (scope HTTPClientRequest request) {
    request.method = HTTPMethod.POST;
    immutable requestBody = EXAMPLE.format(stuff);
    request.writeBody(cast(ubyte[]) requestBody, JSON_MIME);
}, settings);

But I get an error:

Error: function `vibe.stream.tls.TLSContext.kind() const` is not callable using argument types `(TLSContextKind)`: expected 0 argument(s), not 1

What am I missing?

Thanks,

Curtis