Example #1
0
 public FileHeader(@string Filename = default, textproto.MIMEHeader Header = default, long Size = default, slice <byte> content = default, @string tmpfile = default)
 {
     this.Filename = Filename;
     this.Header   = Header;
     this.Size     = Size;
     this.content  = content;
     this.tmpfile  = tmpfile;
 }
Example #2
0
 public Part(textproto.MIMEHeader Header = default, ref ptr <Reader> mr = default, @string disposition = default, map <@string, @string> dispositionParams = default, io.Reader r = default, long n = default, long total = default, error err = default, error readErr = default)
 {
     this.Header            = Header;
     this.mr                = mr;
     this.disposition       = disposition;
     this.dispositionParams = dispositionParams;
     this.r       = r;
     this.n       = n;
     this.total   = total;
     this.err     = err;
     this.readErr = readErr;
 }