Click or drag to resize
Expires Class
The Expires entity-header field gives a date and time after which the description or media-stream should be considered stale. The interpretation depends on the method:
Describe response: The Expires header indicates a date and time after which the description should be considered stale.
A stale cache entry may not normally be returned by a cache (either a proxy cache or an user agent cache) unless it is first validated with the origin server (or with an intermediate cache that has a fresh copy of the entity). See section 13 for further discussion of the expiration model.
The presence of an Expires field does not imply that the original resource will change or cease to exist at, before, or after that time.
To mark a response as "already expired," an origin server should use an Expires date that is equal to the Date header value. To mark a response as "never expires," an origin server should use an Expires date approximately one year from the time the response is sent. RTSP/1.0 servers should not send Expires dates more than one year in the future.
The presence of an Expires header field with a date value of some time in the future on a media stream that otherwise would by default be non-cacheable indicates that the media stream is cacheable, unless indicated otherwise by a Cache-Control header field.
Inheritance Hierarchy
SystemObject
  StreamCoders.RtspBaseHeader
    StreamCoders.RtspExpires

Namespace: StreamCoders.Rtsp
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public class Expires : BaseHeader

The Expires type exposes the following members.

Constructors
  NameDescription
Public methodExpires
Constructor.
Top
Properties
  NameDescription
Public propertyHeaderType
Gets or sets the type of the RTSP header.
(Inherited from BaseHeader.)
Public propertyHttpTime
Gets or sets or Sets the HttpTime property.
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodCopyOverloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.)
Public Extension MethodCopy(Object)Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.)
Top
See Also