[][src]Module brokaw::types::command

Traits and types for NNTP commands

The NntpCommand trait can be used to implement commands not (yet) provided by Brokaw.

Brokaw provides implementations for most of the commands in RFC 3977.

One notable exception is the LISTGROUP command. This command is left unimplemented as it does not adhere to the response standards defined in the RFC.

Structs

Capabilities

Get the capabilities provided by the server

Group

Select a group

ModeReader

Enable reader mode on a mode switching server

Next

Attempt to set the current article to the next article number

Quit

Close the connection

XFeatureCompress

Enable Giganews style header compression

Enums

Article

Retrieve an article's header and body

AuthInfo

Authenticate via AUTHINFO as specified in RFC 4643

Body

Retrieve the body for an Article

Hdr

Retrieve a specific header from one or more articles

Head

Retrieve the headers for an article

List

Retrieve a list of information from the server

Over

Retrieve all of the fields (e.g. headers/metadata) for one or more articles

Stat

Check if an article exists in the newsgroup

XHdr

Retrieve a specific header from one or more articles

XOver

Get the headers for one or more articles

Traits

NntpCommand

An NNTP command