aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/net/tls/tls_crypto_socket.h
blob: 7154326eea6ec3d189101d26d105da837c21e8e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/vespalib/net/crypto_socket.h>

namespace vespalib {

struct TlsCryptoSocket : public CryptoSocket {
    ~TlsCryptoSocket() override;
    virtual void inject_read_data(const char *buf, size_t len) = 0;
};

} // namespace vespalib