sealed class Tinman.Core.IO.SimpleHttp

Derived from

Disposable abstract

Default implementation of the ISimpleHttp interface.

Public / Constructors


public constructor SimpleHttp → (3)

userAgent opt : string = null

Specifies the HTTP User-Agent string to use. If null, the following string will be used: 'Tinman3D/X.Y', where X and Y are the major resp. minor version numbers of TinmanCoreModule (see TinmanModule.Info).

decodeImage opt : ISimpleHttpImage = null

The ISimpleHttpImage object to use for decoding image data. If null, ISimpleHttp.GetImage will always return an HTTP error code.

decodeText opt : ISimpleHttpText = null

The ISimpleHttpText object to use for decoding text data. If null, ISimpleHttp.GetText will always return an HTTP error code.

Creates a new instance of SimpleHttp.

Public / Attributes


public attribute Attempts → (get,set)

value : int32

The number of attempts.

The number of attempts to make for accessing an HTTP resource.

The default value is 3.



public static readonly attribute Logger → (ILogger)

The logger object of this class.