Beispiel #1
0
        public void WriteRequestLine(Methods method, UriSchemes scheme, ByteArrayPart user, ByteArrayPart domain)
        {
            Method = method;

            Write(method.ToByteArrayPart(), C.SP);
            Write(scheme.ToByteArrayPart(), C.HCOLON, user, C.At, domain);
            Write(C.SP, C.SIP_2_0, C.CRLF);
        }
Beispiel #2
0
 public void WriteRecordRoute(UriSchemes scheme, ByteArrayPart host, int port)
 {
     Write(C.RecordRoute, C.HCOLON, C.SP, C.LAQUOT, scheme.ToByteArrayPart(), C.HCOLON, host, C.HCOLON);
     Write(port);
     Write(C.SEMI, C.lr, C.RAQUOT, C.CRLF);
 }
Beispiel #3
0
		public void WriteRecordRoute(UriSchemes scheme, ByteArrayPart host, int port)
		{
			Write(C.RecordRoute, C.HCOLON, C.SP, C.LAQUOT, scheme.ToByteArrayPart(), C.HCOLON, host, C.HCOLON);
			Write(port);
			Write(C.SEMI, C.lr, C.RAQUOT, C.CRLF);
		}
Beispiel #4
0
		public void WriteRequestLine(Methods method, UriSchemes scheme, ByteArrayPart user, ByteArrayPart domain)
		{
			Method = method;

			Write(method.ToByteArrayPart(), C.SP);
			Write(scheme.ToByteArrayPart(), C.HCOLON, user, C.At, domain);
			Write(C.SP, C.SIP_2_0, C.CRLF);
		}