nntp-0.0.4: Library to connect to an NNTP Server

Portabilityportable
Stabilitynone
Maintaineruzytkownik2@gmail.com

Network.NNTP.Internal.Article

Description

This module contains definition of article

Synopsis

Documentation

data Article Source

Represents a single article. Please note that except the splitting into header and body no parsing is done.

Constructors

Article 

Fields

articleID :: String

Returns the article ID

articleHeader :: Maybe ByteString

Returns the article header. Data.Maybe.Nothing indicates not fetched header.

articleBody :: Maybe ByteString

Returns the article body. Data.Maybe.Nothing indicates not fetched body.

Instances