Server
Object Hierarchy:
Description:
[ CCode ( type_id = "uhm_server_get_type ()" ) ]
[ Version ( since = "0.1.0" ) ]
public class Server : Object
[ Version ( since = "0.1.0" ) ]
public class Server : Object
Namespace: Uhm
Package: libuhttpmock-0.0
Content:
Properties:
- public string address { get; }
- public bool enable_logging { get; set; }
- public bool enable_online { get; set; }
- public uint port { get; }
- public Resolver resolver { get; }
- public TlsCertificate tls_certificate { get; set; }
- public File trace_directory { get; set; }
Static methods:
- public static Quark error_quark ()
- public static void received_message_chunk_from_soup (Logger logger, LoggerLogLevel level, char direction, string data, void* user_data)
Creation methods:
- public Server ()
Methods:
- public void compare_messages_remove_filter (ulong filter_id)
- public void end_trace ()
- public ulong filter_ignore_parameter_values (string[] parameter_names)
- public unowned string? get_address ()
- public bool get_enable_logging ()
- public bool get_enable_online ()
- public uint get_port ()
- public unowned Resolver? get_resolver ()
- public unowned TlsCertificate? get_tls_certificate ()
- public unowned File? get_trace_directory ()
- public void load_trace (File trace_file, Cancellable? cancellable = null) throws Error
- public async void load_trace_async (File trace_file, Cancellable? cancellable) throws Error
- public void received_message_chunk (string message_chunk, int64 message_chunk_length) throws Error
- public void received_message_chunk_with_direction (char direction, string data, int64 data_length) throws Error
- public void run ()
- public unowned TlsCertificate set_default_tls_certificate ()
- public void set_enable_logging (bool enable_logging)
- public void set_enable_online (bool enable_online)
- public void set_expected_domain_names (string[]? domain_names)
- public void set_tls_certificate (TlsCertificate? tls_certificate)
- public void set_trace_directory (File? trace_directory)
- public void start_trace (string trace_name) throws Error
- public void start_trace_full (File trace_file) throws Error
- public void stop ()
- public void unload_trace ()
Signals:
- public virtual signal bool compare_messages (Message expected_message, Message actual_message, ClientContext actual_client)
- public virtual signal bool handle_message (Message message, ClientContext client)
Inherited Members:
All known members inherited from class GLib.Object