(a) An arrest is taking a person into custody, in a case and in the manner authorized by law. An arrest is made by actual restraint of the person of the defendant or by his submission to the custody of an officer. The defendant must not be subjected to any more restraint than is necessary for his arrest and detention.
(b) If the offense charged is a felony, the arrest may be made on any day, and at any time of day or night. If it is a misdemeanor, the arrest cannot be made at night, unless the warrant so directs.
(c) The person making an arrest must inform the person to be arrested of the intention to arrest him, of the cause of the arrest, and the authority to make it, except when the person to be arrested is actually engaged in the commission of or an attempt to commit an offense, or is pursued immediately after its commission, or after an escape.
(d) Any person making an arrest may take from the person arrested all dangerous weapons which he may have about his person; and must deliver them to the judge before whom he is taken.