示例#1
0
		public void WriteAllow(Methods method1, Methods method2, Methods method3)
		{
			Write(C.Allow__);
			Write(method1.ToUtf8Bytes());
			Write(C.COMMA);
			Write(method2.ToUtf8Bytes());
			Write(C.COMMA);
			Write(method3.ToUtf8Bytes());
			Write(C.CRLF);
		}
示例#2
0
		public void WriteAccessControlAllowMethods(Methods method1, Methods method2, Methods method3, Methods method4, Methods method5)
		{
			Write(C.Access_Control_Allow_Methods__);
			Write(method1.ToUtf8Bytes());
			Write(C.COMMA);
			Write(method2.ToUtf8Bytes());
			Write(C.COMMA);
			Write(method3.ToUtf8Bytes());
			Write(C.COMMA);
			Write(method4.ToUtf8Bytes());
			Write(C.COMMA);
			Write(method5.ToUtf8Bytes());
			Write(C.CRLF);
		}
示例#3
0
		public void WriteAllow(Methods method1)
		{
			Write(C.Allow__);
			Write(method1.ToUtf8Bytes());
			Write(C.CRLF);
		}
示例#4
0
		public void WriteAccessControlAllowMethods(Methods method1)
		{
			Write(C.Access_Control_Allow_Methods__);
			Write(method1.ToUtf8Bytes());
			Write(C.CRLF);
		}