Preheat oven to 350 degrees F (175 degrees C). In a medium bowl, beat together eggs, mayonnaise, flour, and milk until thoroughly blended. Stir in crab, cheese, and onion. Spread into pie shell. Bake for 40 to 45 minutes, or until a knife inserted in the center comes out clean.