This file is indexed.

/usr/include/Wt/Http/WtClient is in libwt-dev 3.3.6+dfsg-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// This may look like C code, but it's really -*- C++ -*-
/*
 * Copyright (C) 2009 Emweb bvba, Kessel-Lo, Belgium.
 *
 * See the LICENSE file for terms of use.
 */
#ifndef WT_HTTP_WT_CLIENT_H_
#define WT_HTTP_WT_CLIENT_H_

#include <Wt/WFlags>
#include <string>

namespace Wt {

  namespace Http {

/*! \class WtClient Wt/Http/WtClient Wt/Http/WtClient
 *  \brief Support for a %Wt web application client.
 *
 * \note This class provides a utility to bootstrap a %Wt session, but does not
 *       deal with new developments related to the bootstrap procedure such
 *       as progressive bootstrap.
 *
 * \ingroup http
 */
class WT_API WtClient
{
public:
  /*! \brief Enumeration for client user-agent options.
   */
  enum ClientOption {
    SupportsAjax = 0x1 //!< Flag that indicates supports for AJAX
  };

  /*! \brief Starts a %Wt session.
   *
   * A %Wt application uses a bootstrap procedure during which it
   * collects information on user agent capabilities (unless the
   * progressive bootstrap method is enabled). Therefore a session is
   * not spawned after the first request, but only after these
   * capabilities have been collected by a second request.
   *
   * This function starts a session on the specific \p host, \p port,
   * \p path, and optional \p query. These correspond to the different
   * parts of a url:
   * 
   * <tt>http://</tt><i>host</i><tt>:</tt><i>port</i>/<i>path</i><tt>?</tt>\p query.
   */
  static void startWtSession(const std::string& host,
			     const std::string& port,
			     const std::string& path,
			     const std::string& query = std::string(),
			     WFlags<ClientOption> flags = SupportsAjax);
};

W_DECLARE_OPERATORS_FOR_FLAGS(WtClient::ClientOption)

  }
}

#endif // WT_HTTP_WtCLIENT_H_