Updated

The House of Representatives on Friday approved a non-binding resolution backing Israel's right to defend itself against Hamas rocket attacks.

The vote comes as Hamas-fired rockets stream into Israel's airspace, though most are being intercepted by Israel's advanced defense system.

The House adopted the resolution by unanimous consent, and there was no roll call vote.

Rep. Steve Israel, D-N.Y., who co-sponsored the resolution with Rep. Tom Cole, R-Okla., called the Hamas attacks "unprovoked and unwarranted."

"Israel is one of America's most important and loyal friends. As the world has watched the unrest and tension reach a new height over the last several days with rockets fired into Israel by Hamas, we remain supportive of Israel's right to combat these terrorist acts," Cole said.

Fox News' Chad Pergram contributed to this report.