Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3695

Show
Ignore:
Timestamp:
07/02/08 03:46:28 (5 months ago)
Author:
kris
Message:

added a size() property to parameter-list

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/net/http/HttpParams.d

    r3038 r3695  
    7070                this(); 
    7171                setOutputBuffer (output); 
     72        } 
     73 
     74        /********************************************************************** 
     75 
     76                Return the number of headers 
     77 
     78        **********************************************************************/ 
     79 
     80        uint size () 
     81        { 
     82                return super.stack.size; 
    7283        } 
    7384 
  • trunk/tango/net/http/model/HttpParamsView.d

    r2978 r3695  
    3535{ 
    3636        /********************************************************************** 
     37 
     38                Return the number of headers 
     39 
     40        **********************************************************************/ 
     41 
     42        uint size (); 
     43 
     44        /********************************************************************** 
    3745                 
    3846                Return the value of the provided header, or null if the