<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace SocksSharp.Proxy
{
    public class ProxySettings :  IProxySettings, IProxySettingsFluent
    {
        public NetworkCredential Credentials { get; set; }

        public string Host { get; set; }

        public int Port { get; set; }

        public int ConnectTimeout { get; set; } = 5000;

        public int ReadWriteTimeOut { get; set; } = 10000;

#region Fluent

        public IProxySettingsFluent SetConnectionTimeout(int connectionTimeout)
        {
            throw new NotImplementedException();
        }

        public IProxySettingsFluent SetCredential(NetworkCredential credential)<commit_msg>Create docs for ProxySettings<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace SocksSharp.Proxy
{
    /// <summary>
    /// Represents the settings for <see cref="ProxyClient{T}"/>
    /// </summary>
    public class ProxySettings :  IProxySettings, IProxySettingsFluent
    {
        /// <summary>
        /// Gets or sets the credentials to submit to the proxy server for authentication.
        /// </summary>
        public NetworkCredential Credentials { get; set; }

        /// <summary>
        /// Gets or sets a value of host or IP address for the proxy server
        /// </summary>
        public string Host { get; set; }

        /// <summary>
        /// Gets or sets a value of Port for the proxy server
        /// </summary>
        public int Port { get; set; }

        /// <summary>
        /// Gets or sets the amount of time a <see cref="ProxyClient{T}"/>
        /// will wait to connect to the proxy server
        /// </summary>
        public int ConnectTimeout { get; set; } = 5000;

        /// <summary>
        /// Gets or sets the amount of time a <see cref="ProxyClient{T}"/>
        /// will wait for read or wait data from the proxy server
        /// </summary>
        public int ReadWriteTimeOut { get; set; } = 10000;

#region Fluent

        public IProxySettingsFluent SetConnectionTimeout(int connectionTimeout)
        {
            throw new NotImplementedException();
        }

        public IProxySettingsFluent SetCredential(NetworkCredential credential)
{'fraction_non_alphanumeric': 0.09517819706498952, 'fraction_numerical': 0.007547169811320755, 'mean_word_length': 2.3843971631205676, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4923061', 'n_tokens_mistral': 646, 'n_tokens_neox': 613, 'n_words': 215}